USB: isd200: fix memory leak in isd200_get_inquiry_data
authorBoaz Harrosh <bharrosh@panasas.com>
Mon, 17 Mar 2008 21:21:01 +0000 (14:21 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 25 Mar 2008 05:26:14 +0000 (22:26 -0700)
commitba2ef3b36c8ad9aa1df6b2061b0a56f68c64776d
tree3c276eca3beb0e90fa42a0ee8317845444b75114
parentb483b6aaa56f0db72fa50e85b6499a32d82009bf
USB: isd200: fix memory leak in isd200_get_inquiry_data

If the inquiry fails then the info structure on us->extra was not freed.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/isd200.c