diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-12-18 14:11:31 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-12-18 14:13:38 -0200 |
commit | b62ef37c6e2f30d1b5ce3889212050d738c04885 (patch) | |
tree | 2d22e74cad8528b3962f8133273cfb14a7b404da /tools/perf/scripts/python/syscall-counts.py | |
parent | 58e1ba3ce6b2c8f4933525d8bb939605add22c83 (diff) |
[media] videobuf2: avoid memory leak on errors
As reported by smatch:
drivers/media/v4l2-core/videobuf2-core.c:2415 __vb2_init_fileio() warn: possible memory leak of 'fileio'
While here, avoid the usage of sizeof(struct foo_struct).
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions