OSDN Git Service

tests: fix usb-test leaks
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 7 Feb 2017 11:47:39 +0000 (15:47 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 1 Mar 2017 07:51:29 +0000 (11:51 +0400)
commit62030ed135e4cfb960cb626510cbb3ea77bb9ef9
treea64cf3de98fe919ccfc46d50c864ba2fd496905e
parentd3510ff9d7e78c89ee41175082ae5390e6e5b285
tests: fix usb-test leaks

Fix the usb tests leaks.

Spotted by ASAN.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
tests/libqos/usb.c
tests/libqos/usb.h
tests/usb-hcd-ehci-test.c
tests/usb-hcd-uhci-test.c