]> git.openfabrics.org - ~emulex/infiniband.git/commit
staging: usbip: userspace: avoid memory leaks
authorStefan Reif <ke42caxa@cip.cs.fau.de>
Thu, 4 Apr 2013 14:03:12 +0000 (16:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Apr 2013 21:22:51 +0000 (14:22 -0700)
commite697949944c1427816e3cd01f8316040d7bddc57
treea911f8997c579a267fa2b6e13ec435fd66575579
parentb94b3a627f415b17f5451e2cd607164655f30491
staging: usbip: userspace: avoid memory leaks

Call freeaddrinfo when connect/listen fails.
Call usbip_host_driver_close on error.

Signed-off-by: Stefan Reif <ke42caxa@cip.cs.fau.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/userspace/src/usbip_network.c
drivers/staging/usbip/userspace/src/usbipd.c