qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Fix some memleaks caused by timer_new_ns
@ 2021-01-12 11:27 Gan Qixin
  2021-01-12 11:27 ` [PATCH v3 1/2] pl031: Use timer_free() in the finalize function to avoid memleaks Gan Qixin
  2021-01-12 11:27 ` [PATCH v3 2/2] misc/mos6522: Use timer_free() in the finalize function to avoid memleak Gan Qixin
  0 siblings, 2 replies; 8+ messages in thread
From: Gan Qixin @ 2021-01-12 11:27 UTC (permalink / raw)
  To: qemu-devel, qemu-trivial
  Cc: peter.maydell, Gan Qixin, zhang.zhanghailiang, kuhn.chenqun,
	david

v2->v3:

Changes suggested by Peter Maydell:
  timer_free() already contains timer_del()(commit 5f8e93c3e262ab),
so delete unnecessary timer_del() function.


v1->v2:

patch1:
  Delete the modification of unrelated whitespace.
patch2:
  Add David Gibson acked tag.
patch3:
  Has been applied, so delete it.


Gan Qixin (2):
  pl031: Use timer_free() in the finalize function to avoid memleaks
  misc/mos6522: Use timer_free() in the finalize function to avoid
    memleak

 hw/misc/mos6522.c | 9 +++++++++
 hw/rtc/pl031.c    | 8 ++++++++
 2 files changed, 17 insertions(+)

-- 
2.27.0



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

end of thread, other threads:[~2021-01-12 20:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-12 11:27 [PATCH v3 0/2] Fix some memleaks caused by timer_new_ns Gan Qixin
2021-01-12 11:27 ` [PATCH v3 1/2] pl031: Use timer_free() in the finalize function to avoid memleaks Gan Qixin
2021-01-12 16:42   ` Peter Maydell
2021-01-12 19:59   ` Laurent Vivier
2021-01-12 11:27 ` [PATCH v3 2/2] misc/mos6522: Use timer_free() in the finalize function to avoid memleak Gan Qixin
2021-01-12 12:17   ` Philippe Mathieu-Daudé
2021-01-12 16:42   ` Peter Maydell
2021-01-12 20:00   ` Laurent Vivier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).