qemu-patch-raspberry4/hw/usb
Li Qiang 791f97758e usb: ehci: fix memory leak in ehci_init_transfer
In ehci_init_transfer function, if the 'cpage' is bigger than 4,
it doesn't free the 'p->sgl' once allocated previously thus leading
a memory leak issue. This patch avoid this.

Signed-off-by: Li Qiang <liqiang6-s@360.cn>
Message-id: 5821c0f4.091c6b0a.e0c92.e811@mx.google.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2016-11-10 15:29:58 +00:00
..
bus.c usb: free USBDevice.strings 2016-08-08 00:00:32 +04:00
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 usb: fix serial generator 2016-10-12 14:37:15 +02:00
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 net: Use correct type for bool flag 2016-07-19 20:18:27 +02:00
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 block/qdev: Allow configuring WCE with qdev properties 2016-07-13 13:32:27 +02:00
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 Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
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 xhci: make xhci_epid_to_usbep accept XHCIEPContext 2016-10-12 12:37:31 +02:00
host-legacy.c
host-libusb.c usb-host: fix streams detection in usb_host_speed_compat 2016-09-13 09:19:26 +02:00
host-stub.c
host.h
libhw.c
Makefile.objs
quirks-ftdi-ids.h
quirks-pl2303-ids.h
quirks.c
quirks.h
redirect.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
trace-events trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00
tusb6010.c
xen-usb.c xen: Rename xen_be_send_notify 2016-10-28 17:54:21 -07:00