Hi all, When running device-introspect-test, I found some memory leaks caused by timer_new_ns in the init function, so I free it in the finalize function.
Gan Qixin (3): pl031: Use timer_free() in the finalize function to avoid memleaks misc/mos6522: Use timer_free() in the finalize function to avoid memleak s390x/cpu: Use timer_free() in the finalize function to avoid memleaks hw/misc/mos6522.c | 11 +++++++++++ hw/rtc/pl031.c | 19 ++++++++++++++----- target/s390x/cpu.c | 5 +++++ 3 files changed, 30 insertions(+), 5 deletions(-) -- 2.27.0