staging: usbip: userspace: Memory leak in usbip_exported_device_new
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 27 Feb 2014 13:25:19 +0000 (14:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Feb 2014 22:18:29 +0000 (14:18 -0800)
commit696c9c7ffaeaeee5c9711f35503ab46ff3e1255e
treee95e98d13ee74a21f6e9abeef967934288df10d0
parent6e2055a9e56e292715f935a85f381e54c1f54269
staging: usbip: userspace: Memory leak in usbip_exported_device_new

Memory was leaked and a device not closed if we ran out of memory on the
system.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/userspace/libsrc/usbip_host_driver.c