diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-03-08 13:29:07 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-03-13 10:15:32 +0100 |
commit | 60f8afcb5d734b6e8a6ba6cb26254dc04e8d9f8d (patch) | |
tree | a6008b8ca2904e3474568cadf4e84cc0ccbea18d | |
parent | 16ce543ed14acc796768a732c9d3ea1288efde24 (diff) | |
download | qemu-60f8afcb5d734b6e8a6ba6cb26254dc04e8d9f8d.zip qemu-60f8afcb5d734b6e8a6ba6cb26254dc04e8d9f8d.tar.gz qemu-60f8afcb5d734b6e8a6ba6cb26254dc04e8d9f8d.tar.bz2 |
uhci: fix uhci_async_cancel_all
It should also free all queues.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | hw/usb/hcd-uhci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb/hcd-uhci.c b/hw/usb/hcd-uhci.c index 476db1f..416f703 100644 --- a/hw/usb/hcd-uhci.c +++ b/hw/usb/hcd-uhci.c @@ -300,6 +300,7 @@ static void uhci_async_cancel_all(UHCIState *s) uhci_async_unlink(curr); uhci_async_cancel(curr); } + uhci_queue_free(queue); } } |