Gonglei
f0bc7fe3b7
usb-storage: fix possible memory leak and missing error message
...
When scsi_bus_legacy_add_drive() return NULL, meanwhile err will
be not NULL, which will casue memory leak and missing error message.
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2014-09-23 11:41:45 +02:00
..
2014-08-29 12:51:44 +02:00
2014-07-01 15:49:51 +02:00
2013-07-29 10:37:09 -05:00
2013-04-08 18:13:16 +02:00
2013-09-19 11:28:40 +02:00
2014-06-02 16:29:00 +02:00
2014-04-22 12:40:57 +02:00
2014-06-02 16:29:00 +02:00
2014-04-22 12:40:57 +02:00
2014-08-15 18:54:06 +04:00
2014-07-01 13:26:37 +02:00
2014-05-26 08:42:43 +02:00
2014-05-14 15:24:51 +02:00
2014-08-15 18:54:06 +04:00
2014-02-20 15:25:05 +00:00
2014-02-18 15:39:12 +01:00
2014-02-18 15:39:12 +01:00
2014-09-23 11:41:45 +02:00
2014-02-18 15:39:12 +01:00
2014-02-18 15:39:12 +01:00
2014-08-29 12:52:14 +02:00
2014-05-14 15:24:51 +02:00
2014-08-29 12:52:14 +02:00
2014-08-29 12:52:14 +02:00
2013-08-30 20:14:39 +02:00
2014-08-29 12:52:13 +02:00
2014-08-29 12:52:14 +02:00
2014-09-10 07:20:53 +02:00
2013-11-05 18:06:38 +01:00
2014-07-01 13:26:37 +02:00
2013-02-19 12:30:05 +01:00
2013-02-19 12:30:05 +01:00
2013-06-20 16:39:52 +02:00
2014-05-09 22:59:40 +02:00
2013-01-08 10:56:58 +01:00
2013-01-08 10:56:58 +01:00
2013-01-08 10:56:58 +01:00
2013-01-08 10:56:58 +01:00
2014-06-30 15:04:34 +02:00