diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-12-18 19:11:31 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-12-18 19:13:38 +0300 |
commit | b62ef37c6e2f30d1b5ce3889212050d738c04885 (patch) | |
tree | 2d22e74cad8528b3962f8133273cfb14a7b404da /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 58e1ba3ce6b2c8f4933525d8bb939605add22c83 (diff) | |
download | linux-b62ef37c6e2f30d1b5ce3889212050d738c04885.tar.xz |
[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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions