From: Gerd Hoffmann Date: Thu, 8 Mar 2012 12:29:07 +0000 (+0100) Subject: uhci: fix uhci_async_cancel_all X-Git-Tag: v1.1-rc0~235^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=60f8afcb5d734b6e8a6ba6cb26254dc04e8d9f8d;p=thirdparty%2Fqemu.git uhci: fix uhci_async_cancel_all It should also free all queues. Signed-off-by: Gerd Hoffmann --- diff --git a/hw/usb/hcd-uhci.c b/hw/usb/hcd-uhci.c index 476db1f099c..416f7034b8d 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); } }