diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-09-03 11:01:13 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-09-11 07:42:59 +0200 |
commit | ef5b234477df80700b128f561f5877a0688a70c8 (patch) | |
tree | 4f77053051f522a2d8c0e42656adccdd1111d71f /docs | |
parent | 3a8ca08e01ea4baafff2a513655008cdd00feebf (diff) | |
download | qemu-ef5b234477df80700b128f561f5877a0688a70c8.zip qemu-ef5b234477df80700b128f561f5877a0688a70c8.tar.gz qemu-ef5b234477df80700b128f561f5877a0688a70c8.tar.bz2 |
ehci: Fix memory leak in handling of NAK-ed packets
Currently each time we try to execute a NAK-ed packet we redo
ehci_init_transfer, and usb_packet_map, re-allocing (without freeing) the
sg list every time.
This patch fixes this, it does this by introducing another async state, so
that we also properly cleanup a NAK-ed packet on cancel.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions