linux/drivers/staging/media
Julia Lawall e53a99eb15 [media] drivers/staging/media/easycap/easycap_main.c: add missing usb_free_urb
Add missing usb_free_urb on failure path after usb_alloc_urb.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@km exists@
local idexpression e;
expression e1,e2,e3;
type T,T1;
identifier f;
@@

* e = usb_alloc_urb(...)
... when any
    when != e = e1
    when != e1 = (T)e
    when != e1(...,(T)e,...)
    when != &e->f
if(...) { ... when != e2(...,(T1)e,...)
                 when != e3 = e
                 when forall
(
             return <+...e...+>;
|
*             return ...;
) }
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-07-30 21:05:45 -03:00
..
as102 [media] staging/media/as102: remove version.h include at as102_fe.c 2012-05-20 11:16:45 -03:00
cxd2099
dt3155v4l [media] v4l2-dev: add flag to have the core lock all file operations 2012-05-14 09:19:38 -03:00
easycap [media] drivers/staging/media/easycap/easycap_main.c: add missing usb_free_urb 2012-07-30 21:05:45 -03:00
go7007 Revert "[media] staging: media: go7007: Adlink MPG24 board issues" 2012-05-20 11:31:51 -03:00
lirc Merge branch 'v4l_for_linus' into staging/for_v3.6 2012-06-27 08:57:09 -03:00
solo6x10 [media] staging: solo6x10: Fix TODO file with proper maintainer 2012-07-05 19:12:10 -03:00
Kconfig [media] staging: Fix comments and some typos in staging/media/* 2012-03-19 14:26:16 -03:00
Makefile