mirror of https://github.com/xemu-project/xemu.git
uhci: fix uhci_async_cancel_all
It should also free all queues. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
16ce543ed1
commit
60f8afcb5d
hw/usb
|
@ -300,6 +300,7 @@ static void uhci_async_cancel_all(UHCIState *s)
|
||||||
uhci_async_unlink(curr);
|
uhci_async_unlink(curr);
|
||||||
uhci_async_cancel(curr);
|
uhci_async_cancel(curr);
|
||||||
}
|
}
|
||||||
|
uhci_queue_free(queue);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue