Staging: line6: fix leaks in line6_probe()
authorKulikov Vasiliy <segooon@gmail.com>
Tue, 13 Jul 2010 11:22:46 +0000 (15:22 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Jul 2010 18:30:49 +0000 (11:30 -0700)
commitab366c1a23183b134eb19c5814f5c9fd3b0c831d
tree7842a2fcab7fd9185d9bd99c7a3ddeae00e79de4
parent8e2394a981b9258db47f8e223a550d46c6d40cc8
Staging: line6: fix leaks in line6_probe()

If error occurs line6_probe() must put interface and usbdev that were
got before.

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