]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: fix omninet memory leak found by coverity
authorOliver Neukum <oneukum@suse.de>
Wed, 2 May 2007 08:33:10 +0000 (10:33 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 May 2007 06:45:48 +0000 (23:45 -0700)
commit5ac43d1fbbfd1b89f83c1a907c58d558d262e441
treea3b713dce58dce77787d0aa404a41d57d4f70a87
parentad9ddd66c6e8a79630a975ff0bb8d45a11abe630
USB: fix omninet memory leak found by coverity

the transfer of allocating the descriptor in attach and no longer in open
was incomplete resulting in a memory leak coverity spotted. This fix
is against the patch set you posted.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/omninet.c