diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-06-13 19:28:14 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-06-18 09:15:51 +0200 |
commit | 9b5c2fd53feb574036747d0284fd7f73dfedc89c (patch) | |
tree | 138d78329b8f17a1a70631ecbdaa183dbf8c7465 /hw/usb/dev-uas.c | |
parent | a1738cd8c58afe43dc610ca778f52f1549ff3a06 (diff) | |
download | qemu-9b5c2fd53feb574036747d0284fd7f73dfedc89c.zip qemu-9b5c2fd53feb574036747d0284fd7f73dfedc89c.tar.gz qemu-9b5c2fd53feb574036747d0284fd7f73dfedc89c.tar.bz2 |
Revert "usb: release the created buses"
The USB device don't hold the bus. There is no ASAN related reports
anymore.
This reverts commit cd7bc87868d534f95e928cad98e2a52df7695771.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20180613172815.32738-3-marcandre.lureau@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/dev-uas.c')
-rw-r--r-- | hw/usb/dev-uas.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/usb/dev-uas.c b/hw/usb/dev-uas.c index aaf5a88..be566ca 100644 --- a/hw/usb/dev-uas.c +++ b/hw/usb/dev-uas.c @@ -896,8 +896,6 @@ static void usb_uas_unrealize(USBDevice *dev, Error **errp) UASDevice *uas = USB_UAS(dev); qemu_bh_delete(uas->status_bh); - - object_unref(OBJECT(&uas->bus)); } static void usb_uas_realize(USBDevice *dev, Error **errp) |