]> err.no Git - linux-2.6/commit
V4L/DVB (4990): Cpia2/cpia2_usb.c: fix error-path leak
authorAmit Choudhary <amit2030@gmail.com>
Wed, 20 Dec 2006 12:30:45 +0000 (09:30 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 27 Dec 2006 16:19:51 +0000 (14:19 -0200)
commitd82d418a3af4d7d07151f9d45ca20f2ce61289a0
tree87c4be0dd62e0bdcb153b514fe24f79511fe33df
parentcb2c7b4927c8f376b7ba9557978d8c59ed472664
V4L/DVB (4990): Cpia2/cpia2_usb.c: fix error-path leak

Free previously allocated memory (in array elements) if kmalloc() returns
NULL in submit_urbs().

Signed-off-by: Amit Choudhary <amit2030@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cpia2/cpia2_usb.c