acrn-hypervisor/devicemodel/hw/platform
Conghui Chen e8dda1e914 DM USB: fix memory leak during reboot
1. free memory during pci_xhci_dev_destroy.
2. add libusb_free_device_list to free the list of devices previously
discovered using libusb_get_device_list().
3. fix possible memory corruption.

Tracked-On: #2892
Signed-off-by: Conghui Chen <conghui.chen@intel.com>
Reviewed-by: Xiaoguang Wu <xiaoguang.wu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com>
2019-04-04 18:35:02 +08:00
..
acpi DM: Keep consistency between HV and DM about PM1A_CNT_ADDR 2019-04-04 17:51:15 +08:00
rpmb DM: Attestation Keybox support in SOS DM 2019-02-25 16:40:25 +08:00
tpm dm: protect pthread_cond_wait() against spurious wakeups 2019-04-04 00:27:10 +08:00
atkbdc.c DM: wrap ASSERT/DEASSERT IRQ line with Set/Clear IRQ line 2018-10-29 09:26:23 +08:00
cmos_io.c dm: cmos: move cmos storage out of vmctx 2018-08-30 12:17:23 +08:00
debugexit.c dm: add io port 0xF4 writing to force DM exit 2018-10-17 14:32:33 +08:00
hpet.c dm: vhpet: fix vHPET memory leak on device reset 2019-02-06 08:53:27 +08:00
ioapic.c DM: cleanup for header inclusions 2018-06-07 14:35:30 +08:00
ioc.c dm: protect pthread_cond_wait() against spurious wakeups 2019-04-04 00:27:10 +08:00
ioc_cbc.c IOC mediator: fix wakeup reason issue when UOS resuming 2018-11-06 16:18:35 +08:00
pit.c dm: vhpet: add vHPET support 2019-01-23 10:33:28 +08:00
ps2kbd.c DM: cleanup for header inclusions 2018-06-07 14:35:30 +08:00
ps2mouse.c DM: add deinit function for ps2kbd and ps2mouse 2018-05-15 17:25:24 +08:00
rtc.c dm: provide timer callback handlers the number of expirations 2019-01-23 10:33:28 +08:00
usb_mouse.c dm: use strnlen to replace strlen 2018-12-25 18:40:04 +08:00
usb_pmapper.c DM USB: fix memory leak during reboot 2019-04-04 18:35:02 +08:00