Jesper Juhl
9fa728ea35
[media] easycap: Fix mem leak in easycap_usb_probe()
...
If allocating 'pdata_urb' fails, the function will return -ENOMEM
without freeing the memory allocated, just a few lines above, for
'purb' and will leak that memory when 'purb' goes out of scope.
This patch resolves the leak by freeing the allocated storage with
usb_free_urb() before the return.
Signed-off-by: Jesper Juhl <jj@chaosbits.net >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2012-02-08 12:38:57 -02:00
..
2011-12-22 13:33:57 -08:00
2011-11-26 18:13:54 -08:00
2012-01-09 12:18:17 -08:00
2012-01-13 09:32:20 +10:30
2011-05-18 14:30:49 -07:00
2011-12-16 10:54:15 -08:00
2012-01-09 12:18:17 -08:00
2011-07-05 20:37:37 -07:00
2011-12-08 15:03:11 -08:00
2012-01-09 12:18:17 -08:00
2012-01-08 13:21:22 -08:00
2012-01-10 11:04:36 -08:00
2011-12-08 14:59:47 -08:00
2012-01-09 12:18:17 -08:00
2012-01-08 13:21:22 -08:00
2011-12-09 19:26:09 -08:00
2012-02-08 12:38:57 -02:00
2011-12-22 13:46:16 -08:00
2011-11-26 17:17:14 -08:00
2011-12-07 22:03:28 +00:00
2011-12-08 15:01:49 -08:00
2011-12-22 13:46:15 -08:00
2011-09-06 16:49:29 -07:00
2011-11-28 04:24:32 +09:00
2012-01-06 23:19:54 -05:00
2012-01-13 09:32:20 +10:30
2011-10-26 15:39:02 +02:00
2011-12-22 13:48:59 -08:00
2011-11-26 16:25:54 -08:00
2012-01-09 12:18:17 -08:00
2012-01-09 12:18:17 -08:00
2011-12-21 21:59:45 +01:00
2011-04-20 13:45:57 -07:00
2012-01-09 12:18:17 -08:00
2011-11-26 16:22:27 -08:00
2012-01-13 09:32:20 +10:30
2011-11-18 15:00:48 -08:00
2011-11-28 04:24:32 +09:00
2012-01-13 09:32:20 +10:30
2011-08-25 17:01:20 -07:00
2012-01-08 13:21:22 -08:00
2011-12-22 13:40:03 -08:00
2012-01-13 09:32:20 +10:30
2011-11-30 19:29:40 +09:00
2012-01-09 12:18:17 -08:00
2011-11-18 09:42:11 -08:00
2012-01-09 12:18:17 -08:00
2011-10-18 13:36:04 -07:00
2011-11-18 09:42:11 -08:00
2011-12-08 12:26:09 -08:00
2011-11-26 18:13:55 -08:00
2011-12-08 14:59:48 -08:00
2011-12-08 15:25:56 -08:00
2011-12-08 15:25:56 -08:00