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
..
2012-01-13 09:32:20 +10:30
2012-01-18 15:51:48 -08:00
2012-01-17 20:50:53 -05:00
2012-01-13 09:32:20 +10:30
2012-01-16 15:02:30 -08:00
2012-01-17 09:54:08 -05:00
2012-01-18 15:41:27 -08:00
2012-01-13 09:32:20 +10:30
2012-01-14 15:07:24 -08:00
2012-01-18 15:50:17 -08:00
2012-01-11 18:53:33 -08:00
2012-01-10 22:01:27 -08:00
2012-01-17 18:40:24 -08:00
2012-01-13 09:32:20 +10:30
2012-01-13 09:32:20 +10:30
2012-01-12 11:53:55 -05:00
2012-01-18 13:48:43 -07:00
2012-01-13 09:09:15 +00:00
2012-01-13 09:32:20 +10:30
2012-01-16 22:51:48 +01:00
2012-01-17 23:30:41 +00:00
2012-01-14 15:07:24 -08:00
2012-01-18 01:15:54 -05:00
2012-01-18 16:29:42 -08:00
2012-01-14 12:32:16 -08:00
2012-01-14 12:32:16 -08:00
2012-01-14 12:32:16 -08:00
2012-01-12 15:44:47 +10:30
2012-01-13 09:32:20 +10:30
2012-01-15 12:24:45 -08:00
2012-02-08 11:01:26 -02:00
2012-01-13 09:32:20 +10:30
2012-01-14 12:32:16 -08:00
2012-01-17 18:40:24 -08:00
2012-01-17 18:40:24 -08:00
2012-01-17 18:40:24 -08:00
2012-01-17 22:26:41 -08:00
2012-01-14 13:25:55 -08:00
2012-01-11 18:50:26 -08:00
2012-01-14 12:32:16 -08:00
2012-01-14 18:36:33 -08:00
2012-01-14 13:05:21 -08:00
2012-01-13 09:32:20 +10:30
2012-01-13 09:32:20 +10:30
2012-01-13 20:43:32 -08:00
2012-01-13 20:43:32 -08:00
2012-01-13 09:32:20 +10:30
2012-01-18 12:35:17 -08:00
2012-01-11 23:29:20 -08:00
2012-01-17 18:40:24 -08:00
2012-02-08 12:38:57 -02:00
2012-01-17 18:40:24 -08:00
2012-01-11 18:50:26 -08:00
2012-01-17 18:40:24 -08:00
2012-01-13 10:12:23 -08:00
2012-01-17 18:40:24 -08:00
2012-01-12 15:44:47 +10:30
2012-01-13 09:32:20 +10:30
2012-01-18 15:37:49 -08:00
2012-01-11 23:58:47 -05:00