commit | b446631c5acfec93df643bdf2d142020ae328ced | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Tue Nov 10 08:20:19 2015 -0200 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Thu Nov 19 11:15:20 2015 -0200 |
tree | 93fa71aec7f36afe3106a3ca4a9649112efb01e8 | |
parent | cd1e11bed2093af31b114b4c3cda444e89c3c3b5 [diff] |
[media] v4l: omap_vout: Don't free buffers if they haven't been allocated The VRFB buffers are freed when the device is closed even if they haven't been allocated by a call to VIDIOC_REQBUFS, resulting in a crash. Fix it by not trying to free buffers that are not allocated. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>