All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix some memleaks caused by timer_new_ns
@ 2020-12-04  8:12 Gan Qixin
  2020-12-04  8:12 ` [PATCH 1/3] pl031: Use timer_free() in the finalize function to avoid memleaks Gan Qixin
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Gan Qixin @ 2020-12-04  8:12 UTC (permalink / raw)
  To: qemu-devel, qemu-trivial
  Cc: peter.maydell, thuth, zhang.zhanghailiang, Gan Qixin,
	kuhn.chenqun, david

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



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-12-15 13:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-04  8:12 [PATCH 0/3] Fix some memleaks caused by timer_new_ns Gan Qixin
2020-12-04  8:12 ` [PATCH 1/3] pl031: Use timer_free() in the finalize function to avoid memleaks Gan Qixin
2020-12-15 13:42   ` Peter Maydell
2020-12-04  8:12 ` [PATCH 2/3] misc/mos6522: Use timer_free() in the finalize function to avoid memleak Gan Qixin
2020-12-05  9:56   ` David Gibson
2020-12-04  8:12 ` [PATCH 3/3] s390x/cpu: Use timer_free() in the finalize function to avoid memleaks Gan Qixin
2020-12-04  8:36   ` Cornelia Huck
2020-12-04  9:30     ` David Hildenbrand
2020-12-07  8:10     ` ganqixin
2020-12-08 16:10   ` Cornelia Huck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.