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)
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