]> err.no Git - linux-2.6/commit
USB: Memory leak in drivers/usb/serial/airprime.c
authorEric Sesterhenn <snakebyte@gmx.de>
Tue, 10 Oct 2006 21:42:50 +0000 (14:42 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Oct 2006 21:46:33 +0000 (14:46 -0700)
commit0e185b7922ac81516c5c4653dcf6aacbf6341e73
treeef16d187c31398203e44e884255a4a5e1a87026d
parentc0fc0ee06f6c9ab37f53afc62b0d94a700fa7a97
USB: Memory leak in drivers/usb/serial/airprime.c

the commit
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=5dda171202f94127e49c12daf780cdae1b4e668b
added a memory leak.  In case we cant allocate an urb, we dont free the
buffer and leak it.  Coverity id #1438

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Acked-by: Andy Gay <andy@andynet.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/airprime.c