staging: usbip: fix memory leak
authorKulikov Vasiliy <segooon@gmail.com>
Wed, 11 Aug 2010 08:02:10 +0000 (12:02 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 31 Aug 2010 21:51:52 +0000 (14:51 -0700)
If stub_probe() failed then do not increase interf_count. In original
code sdev was leaked as its interf_count never reaches 0.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found