mirror_qemu/hw/timer
Paolo Bonzini e97dd6b2b3 lm32: do not leak memory on object_new/object_unref
Bottom halves and ptimers are malloced, but nothing in these
files is freeing memory allocated by instance_init.  Since
these are sysctl devices that are never unrealized, just moving
the allocations to realize is enough to avoid the leak in
practice (and also to avoid upsetting asan when running
device-introspect-test).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
2019-10-04 18:49:17 +02:00
..
Kconfig hw/Kconfig: Move the generic XLNX_ZYNQMP to the root hw/Kconfig 2019-08-19 21:28:25 +02:00
Makefile.objs hw: timer: Add ASPEED RTC device 2019-07-01 17:28:59 +01:00
a9gtimer.c hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
allwinner-a10-pit.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
altera_timer.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
arm_mptimer.c hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
arm_timer.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
armv7m_systick.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
aspeed_rtc.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
aspeed_timer.c aspeed/scu: Introduce a aspeed_scu_get_apb_freq() routine 2019-09-13 16:05:01 +01:00
cadence_ttc.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
cmsdk-apb-dualtimer.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
cmsdk-apb-timer.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
digic-timer.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
ds1338.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
etraxfs_timer.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
exynos4210_mct.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
exynos4210_pwm.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
exynos4210_rtc.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
grlib_gptimer.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
hpet.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
i8254.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
i8254_common.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
imx_epit.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
imx_gpt.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
lm32_timer.c lm32: do not leak memory on object_new/object_unref 2019-10-04 18:49:17 +02:00
m41t80.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
m48t59-internal.h Normalize header guard symbol definition. 2019-05-13 08:58:55 +02:00
m48t59-isa.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
m48t59.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
mc146818rtc.c mc146818rtc: Remove reset notifiers 2019-08-20 17:26:20 +02:00
milkymist-sysctl.c lm32: do not leak memory on object_new/object_unref 2019-10-04 18:49:17 +02:00
mips_gictimer.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
mss-timer.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
nrf51_timer.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
omap_gptimer.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
omap_synctimer.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
pl031.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
puv3_ost.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
pxa2xx_timer.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
sh_timer.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
slavio_timer.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
stm32f2xx_timer.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
sun4v-rtc.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
trace-events hw: timer: Add ASPEED RTC device 2019-07-01 17:28:59 +01:00
twl92230.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
xilinx_timer.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
xlnx-zynqmp-rtc.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00