qemu/hw/usb
Li Qiang 07b026fd82 usbredir: free vm_change_state_handler in usbredir destroy dispatch
In usbredir destroy dispatch function, it doesn't free the vm change
state handler once registered in usbredir_realize function. This will
lead a memory leak issue. This patch avoid this.

Signed-off-by: Li Qiang <liqiang6-s@360.cn>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 58216976.d0236b0a.77b99.bcd6@mx.google.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2016-11-10 15:29:58 +00:00
..
bus.c
ccid-card-emulated.c usb: Change *_exitfn return type from int to void 2016-10-28 18:17:23 +03:00
ccid-card-passthru.c usb: Change *_exitfn return type from int to void 2016-10-28 18:17:23 +03:00
ccid.h usb: Change *_exitfn return type from int to void 2016-10-28 18:17:23 +03:00
combined-packet.c
core.c
desc-msos.c
desc.c
desc.h
dev-audio.c
dev-bluetooth.c
dev-hid.c
dev-hub.c
dev-mtp.c clean-up: removed duplicate #includes 2016-10-28 18:17:24 +03:00
dev-network.c
dev-serial.c char: remove unused CHR_EVENT_FOCUS 2016-10-24 15:46:10 +02:00
dev-smartcard-reader.c usb: Change *_exitfn return type from int to void 2016-10-28 18:17:23 +03:00
dev-storage.c
dev-uas.c
dev-wacom.c
hcd-ehci-pci.c
hcd-ehci-sysbus.c
hcd-ehci.c usb: ehci: fix memory leak in ehci_init_transfer 2016-11-10 15:29:58 +00:00
hcd-ehci.h
hcd-musb.c
hcd-ohci.c usb: Fix incorrect default DMA offset. 2016-10-12 14:37:15 +02:00
hcd-uhci.c
hcd-xhci.c
host-legacy.c
host-libusb.c
host-stub.c
host.h
libhw.c
Makefile.objs
quirks-ftdi-ids.h
quirks-pl2303-ids.h
quirks.c
quirks.h
redirect.c usbredir: free vm_change_state_handler in usbredir destroy dispatch 2016-11-10 15:29:58 +00:00
trace-events
tusb6010.c
xen-usb.c xen: Rename xen_be_send_notify 2016-10-28 17:54:21 -07:00