]> git.proxmox.com Git - mirror_qemu.git/commit - hw/usb/hcd-xhci.c
xhci: Fix memory leak on xhci_disable_ep
authorHans de Goede <hdegoede@redhat.com>
Tue, 17 Sep 2013 19:44:51 +0000 (21:44 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 19 Sep 2013 09:28:40 +0000 (11:28 +0200)
commitb21da4e504fbdb907543a918b190783dc896d8e1
tree2ed7dffff789c246f424f1822c744597fe63e715
parent518ad5f2a0754f0a5ce4e478b79f4926ce46111b
xhci: Fix memory leak on xhci_disable_ep

The USBPacket-s in the transfers need to be cleaned up so that the memory
allocated by the iovec in there gets freed.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-xhci.c