diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2013-06-02 22:58:49 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-17 15:52:20 -0300 |
commit | e049ca5e854263c821a15c0e25fe2ae202c365e1 (patch) | |
tree | 9cd30b2a350ef938323f87c7ced98411f5446066 /tools/perf/scripts/python/sched-migration.py | |
parent | 07342664d3725de4b21478da222593da491afcd8 (diff) |
[media] staging/media: lirc_imon: fix leaks in imon_probe()
Error handling of usb_submit_urb() is not as all others in imon_probe().
It just unlocks mutexes and returns nonzero leaving all already
allocated resources unfreed.
The patch makes sure all the resources are deallocated.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions