aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-12-18 14:11:31 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-12-18 14:13:38 -0200
commitb62ef37c6e2f30d1b5ce3889212050d738c04885 (patch)
tree2d22e74cad8528b3962f8133273cfb14a7b404da /scripts/const_structs.checkpatch
parent[media] videobuf2-core: fix plane_sizes handling in VIDIOC_CREATE_BUFS (diff)
downloadlinux-b62ef37c6e2f30d1b5ce3889212050d738c04885.tar.gz
linux-b62ef37c6e2f30d1b5ce3889212050d738c04885.zip
[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 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions