staging: usbip: fix memory leak
authorKulikov Vasiliy <segooon@gmail.com>
Mon, 12 Jul 2010 14:48:46 +0000 (18:48 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Jul 2010 18:33:49 +0000 (11:33 -0700)
commit47c7157f3406e83648dad1c5c4e6e8c0f574dfc3
tree535c6c67d4dc1bc73eccdcd9af09b15f901ff6e8
parentab366c1a23183b134eb19c5814f5c9fd3b0c831d
staging: usbip: fix memory leak

sdev should be freed if stub_add_files() failed.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/stub_dev.c