xhci: only free completed transfers
commitf94d18d6c6df388fde196d3ab252f57e33843a8b
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 30 Jan 2017 15:36:44 +0000 (30 16:36 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 6 Feb 2017 09:23:17 +0000 (6 10:23 +0100)
tree6177560ed7fcca01a06de79641699912f5f4fd96
parent811ad5d8f1d3f35240043fe880d34dce6f2097a3
xhci: only free completed transfers

Most callsites check already, one was missed.

Cc: 1653384@bugs.launchpad.net
Fixes: 94b037f2a451b3dc855f9f2c346e5049a361bd55
Reported-by: Fabian Lesniak <fabian@lesniak-it.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 1485790607-31399-2-git-send-email-kraxel@redhat.com
hw/usb/hcd-xhci.c