All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] Fix some memleaks caused by ptimer_init
@ 2020-11-27  7:17 Gan Qixin
  2020-11-27  7:17 ` [PATCH 1/7] allwinner-a10-pit: Use ptimer_free() in the finalize function to avoid memleaks Gan Qixin
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Gan Qixin @ 2020-11-27  7:17 UTC (permalink / raw)
  To: qemu-arm, qemu-devel
  Cc: peter.maydell, zhang.zhanghailiang, Gan Qixin, kuhn.chenqun

Hi all,

When running device-introspect-test, I found some memory leaks caused by
ptimer_init in the init function, so I released it in the finalize function.


Gan Qixin (7):
  allwinner-a10-pit: Use ptimer_free() in the finalize function to avoid
    memleaks
  digic-timer: Use ptimer_free() in the finalize function to avoid
    memleaks
  exynos4210_mct: Use ptimer_free() in the finalize function to avoid
    memleaks
  exynos4210_pwm: Use ptimer_free() in the finalize function to avoid
    memleaks
  exynos4210_rtc: Use ptimer_free() in the finalize function to avoid
    memleaks
  mss-timer: Use ptimer_free() in the finalize function to avoid
    memleaks
  musicpal: Use ptimer_free() in the finalize function to avoid memleaks

 hw/arm/musicpal.c            | 22 +++++++++++++++++-----
 hw/rtc/exynos4210_rtc.c      | 19 ++++++++++++++-----
 hw/timer/allwinner-a10-pit.c | 21 ++++++++++++++++-----
 hw/timer/digic-timer.c       | 18 +++++++++++++-----
 hw/timer/exynos4210_mct.c    | 24 +++++++++++++++++++-----
 hw/timer/exynos4210_pwm.c    | 21 ++++++++++++++++-----
 hw/timer/mss-timer.c         | 23 ++++++++++++++++++-----
 7 files changed, 113 insertions(+), 35 deletions(-)

-- 
2.23.0



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

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

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-27  7:17 [PATCH 0/7] Fix some memleaks caused by ptimer_init Gan Qixin
2020-11-27  7:17 ` [PATCH 1/7] allwinner-a10-pit: Use ptimer_free() in the finalize function to avoid memleaks Gan Qixin
2020-12-14 16:02   ` Peter Maydell
2020-12-14 16:20     ` Peter Maydell
2020-12-15  2:38       ` ganqixin
2020-12-15 11:35         ` Peter Maydell
2020-11-27  7:17 ` [PATCH 2/7] digic-timer: " Gan Qixin
2020-11-27  7:17 ` [PATCH 3/7] exynos4210_mct: " Gan Qixin
2020-11-27  7:18 ` [PATCH 4/7] exynos4210_pwm: " Gan Qixin
2020-11-27  7:18 ` [PATCH 5/7] exynos4210_rtc: " Gan Qixin
2020-11-27  7:18 ` [PATCH 6/7] mss-timer: " Gan Qixin
2020-11-27  7:18 ` [PATCH 7/7] musicpal: " Gan Qixin
2020-12-09  8:07 ` [PATCH 0/7] Fix some memleaks caused by ptimer_init ganqixin

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.