[ldv-project] [PATCH] [media] mceusb: fix usbdev leak

Alexey Khoroshilov khoroshilov at ispras.ru
Wed Sep 10 19:07:12 MSK 2014


On 09.09.2014 14:39, Sean Young wrote:
> On Tue, Sep 09, 2014 at 02:10:43AM +0400, Alexey Khoroshilov wrote:
>> mceusb_init_rc_dev() does usb_get_dev(), but there is no any
>> usb_put_dev() in the driver.
> drivers/media/rc/imon.c suffers from the same problem.
>
> Thanks
> Sean
Yes, our static analyzers show that as well.

We will prepare a patch soon, if nobody has done it yet.

Thanks,
Alexey



More information about the ldv-project mailing list