提交 60f8afcb 编写于 作者: G Gerd Hoffmann

uhci: fix uhci_async_cancel_all

It should also free all queues.
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
上级 16ce543e
...@@ -300,6 +300,7 @@ static void uhci_async_cancel_all(UHCIState *s) ...@@ -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);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册