qemu-e2k/hw/char
Li Qiang 8409dc884a serial: fix memory leak in serial exit
The serial_exit_core function doesn't free some resources.
This can lead memory leak when hotplug and unplug. This
patch avoid this.

Signed-off-by: Li Qiang <liqiang6-s@360.cn>
Message-Id: <586cb5ab.f31d9d0a.38ac3.acf2@mx.google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-01-16 17:52:35 +01:00
..
bcm2835_aux.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
cadence_uart.c cadence_uart: Check if receiver timeout counter is disabled 2016-12-27 14:59:23 +00:00
debugcon.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
digic-uart.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
escc.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
etraxfs_ser.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
exynos4210_uart.c hw/char: QOM'ify exynos4210_uart.c 2017-01-09 11:40:21 +00:00
grlib_apbuart.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
imx_serial.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
ipoctal232.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
lm32_juart.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
lm32_uart.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
Makefile.objs bcm2835_aux: add emulation of BCM2835 AUX (aka UART1) block 2016-03-16 17:42:18 +00:00
mcf_uart.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
milkymist-uart.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
omap_uart.c char: remove init callback 2016-10-24 15:27:20 +02:00
parallel.c char: use qemu_chr_fe* functions with CharBackend argument 2016-10-24 15:27:21 +02:00
pl011.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
sclpconsole-lm.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
sclpconsole.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
serial-isa.c sun4uv: fix serial initialization regression 2016-10-24 15:27:20 +02:00
serial-pci.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
serial.c serial: fix memory leak in serial exit 2017-01-16 17:52:35 +01:00
sh_serial.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
spapr_vty.c hw/char/spapr_vty: Return amount of free buffer entries in vty_can_receive() 2016-11-23 12:00:48 +11:00
stm32f2xx_usart.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
trace-events hw/char/pl011: Add trace events 2016-10-17 19:32:44 +01:00
virtio-console.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
virtio-serial-bus.c virtio: convert to use DMA api 2017-01-10 05:56:58 +02:00
xen_console.c xen: Rename xen_be_send_notify 2016-10-28 17:54:21 -07:00
xilinx_uartlite.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00