commit | f180152376c984a6faa9decb8f2811c373da9141 | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@skynet.be> | Thu Jan 22 12:45:10 2009 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Mar 30 12:42:26 2009 -0300 |
tree | 61efd7457f949e1bfa78f931e748659ec2d315ac | |
parent | efdc8a9585ce02e70e538e46f235aefd63a3f8da [diff] |
V4L/DVB (10296): uvcvideo: Fix memory leak in input device handling The dynamically allocated input_dev->phys buffer isn't freed when unregistering the device. As the input layer doesn't provide any release callback, use a fixed-size buffer inside the uvc_device structure. Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>