qemu-e2k/hw/display
Philippe Mathieu-Daudé c8aaa24537 hw/display/xlnx_dp: Free FIFOs adding xlnx_dp_finalize()
When building with --enable-sanitizers we get:

  Direct leak of 16 byte(s) in 1 object(s) allocated from:
      #0 0x5618479ec7cf in malloc (qemu-system-aarch64+0x233b7cf)
      #1 0x7f675745f958 in g_malloc (/lib64/libglib-2.0.so.0+0x58958)
      #2 0x561847c2dcc9 in xlnx_dp_init hw/display/xlnx_dp.c:1259:5
      #3 0x56184a5bdab8 in object_init_with_type qom/object.c:375:9
      #4 0x56184a5a2bda in object_initialize_with_type qom/object.c:517:5
      #5 0x56184a5a24d5 in object_initialize qom/object.c:536:5
      #6 0x56184a5a2f6c in object_initialize_child_with_propsv qom/object.c:566:5
      #7 0x56184a5a2e60 in object_initialize_child_with_props qom/object.c:549:10
      #8 0x56184a5a3a1e in object_initialize_child_internal qom/object.c:603:5
      #9 0x5618495aa431 in xlnx_zynqmp_init hw/arm/xlnx-zynqmp.c:273:5

The RX/TX FIFOs are created in xlnx_dp_init(), add xlnx_dp_finalize()
to destroy them.

Fixes: 58ac482a66 ("introduce xlnx-dp")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210323182958.277654-1-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2021-03-30 14:05:33 +01:00
..
artist.c
ati_2d.c
ati_dbg.c
ati_int.h
ati_regs.h
ati.c
bcm2835_fb.c
blizzard.c
bochs-display.c
cg3.c
cirrus_vga_internal.h
cirrus_vga_isa.c
cirrus_vga_rop2.h
cirrus_vga_rop.h
cirrus_vga.c
dpcd.c
edid-generate.c edid: prefer standard timings 2021-03-23 12:37:13 +01:00
edid-region.c
exynos4210_fimd.c
framebuffer.c
framebuffer.h
g364fb.c
i2c-ddc.c
jazz_led.c
Kconfig
macfb.c
meson.build
milkymist-tmu2.c
milkymist-vgafb_template.h
milkymist-vgafb.c
next-fb.c
omap_dss.c
omap_lcdc.c hw/display/omap_lcdc: Delete unnecessary macro 2021-03-06 13:30:38 +00:00
pl110_template.h hw/display/pl110: Remove use of BITS from pl110_template.h 2021-03-14 13:14:55 +00:00
pl110.c hw/display/pl110: Remove use of BITS from pl110_template.h 2021-03-14 13:14:55 +00:00
pxa2xx_lcd.c hw/display/pxa2xx: Inline template header 2021-03-14 13:14:56 +00:00
qxl-logger.c hw/display/qxl: Fix bad printf format specifiers 2021-02-04 14:32:40 +01:00
qxl-render.c qxl: also notify the rendering is done when skipping it 2021-02-04 14:32:40 +01:00
qxl.c sysemu: Let VMChangeStateHandler take boolean 'running' argument 2021-03-09 23:13:57 +01:00
qxl.h
ramfb-standalone.c
ramfb.c
sii9022.c
sm501.c hw/display/sm501: Inline template header into C file 2021-03-10 09:07:08 +11:00
ssd0303.c
ssd0323.c
tc6393xb.c hw/display/tc6393xb: Inline tc6393xb_draw_graphic32() at its callsite 2021-03-06 13:30:38 +00:00
tcx.c hw: Replace anti-social QOM type names 2021-03-19 15:18:43 +01:00
trace-events
trace.h
vga_int.h
vga_regs.h
vga-access.h
vga-helpers.h
vga-isa-mm.c
vga-isa.c
vga-pci.c
vga.c
vhost-user-gpu-pci.c
vhost-user-gpu.c vhost_user_gpu: Drop dead check for g_malloc() failure 2021-03-09 21:41:52 +01:00
vhost-user-vga.c
virtio-gpu-3d.c virtio-gpu: Adjust code space style 2021-03-09 22:00:33 +01:00
virtio-gpu-base.c virtio-gpu: Do not distinguish the primary console 2021-03-04 09:35:36 +01:00
virtio-gpu-pci.c
virtio-gpu.c virtio-gpu: Do not distinguish the primary console 2021-03-04 09:35:36 +01:00
virtio-vga.c display/ui: add a callback to indicate GL state is flushed 2021-02-04 15:58:54 +01:00
virtio-vga.h
vmware_vga.c
xenfb.c
xlnx_dp.c hw/display/xlnx_dp: Free FIFOs adding xlnx_dp_finalize() 2021-03-30 14:05:33 +01:00