commit | b62ef37c6e2f30d1b5ce3889212050d738c04885 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Fri Dec 18 14:11:31 2015 -0200 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Fri Dec 18 14:13:38 2015 -0200 |
tree | 2d22e74cad8528b3962f8133273cfb14a7b404da | |
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>