Fix some memleaks caused by ptimer_init
v2 cover Fix some memleaks caused by ptimer_init
v1->v2:
Changes suggested by Peter Maydell:
Delete the modification of unrelated whitespace.
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 | 12 ++++++++++++ hw/rtc/exynos4210_rtc.c | 9 +++++++++ hw/timer/allwinner-a10-pit.c | 11 +++++++++++ hw/timer/digic-timer.c | 8 ++++++++ hw/timer/exynos4210_mct.c | 14 ++++++++++++++ hw/timer/exynos4210_pwm.c | 11 +++++++++++ hw/timer/mss-timer.c | 13 +++++++++++++ 7 files changed, 78 insertions(+)
Signature · 1 line
2.23.0
Peter Maydell
AppliedQuoted 5 lines · Gan Qixin
v1->v2:
Changes suggested by Peter Maydell:
Delete the modification of unrelated whitespace.
Quoted 14 lines
Gan Qixin (7):
allwinner-a10-pit: Useptimer_free()in the finalize function to avoid
memleaks
digic-timer: Useptimer_free()in the finalize function to avoid
memleaks
exynos4210_mct: Useptimer_free()in the finalize function to avoid
memleaks
exynos4210_pwm: Useptimer_free()in the finalize function to avoid
memleaks
exynos4210_rtc: Useptimer_free()in the finalize function to avoid
memleaks
mss-timer: Useptimer_free()in the finalize function to avoid
memleaks
musicpal: Useptimer_free()in the finalize function to avoid memleaks
Applied to target-arm.next, thanks.
PS: something odd happened with the threading of this series -- the patch emails weren't follow-ups to the cover letter -- so the automated tools like patchew got confused and thought the series was empty:
https://patchew.org/QEMU/[email protected]/
You might want to look into fixing that for next time you send a patchset.
thanks
-- PMM
Quoted 37 lines
-----Original Message-----
From: Peter Maydell [mailto:[email protected]]
Sent: Friday, January 8, 2021 7:43 PM
To: ganqixin <[email protected]>
Cc: QEMU Developers <[email protected]>; QEMU Trivial <[email protected]>; Beniamino Galvani <[email protected]>; Antony Pavlov <[email protected]>; Igor Mitsyanko <[email protected]>; sundeep subbaraya <[email protected]>; Jan Kiszka <[email protected]>; Chenqun (kuhn) <[email protected]>; Zhanghailiang <[email protected]>
Subject: Re: [PATCH v2 0/7] Fix some memleaks caused byptimer_initQuoted 5 lines · Gan Qixin
v1->v2:
Changes suggested by Peter Maydell:
Delete the modification of unrelated whitespace.Quoted 15 lines
Gan Qixin (7):
allwinner-a10-pit: Useptimer_free()in the finalize function to avoid
memleaks
digic-timer: Useptimer_free()in the finalize function to avoid
memleaks
exynos4210_mct: Useptimer_free()in the finalize function to avoid
memleaks
exynos4210_pwm: Useptimer_free()in the finalize function to avoid
memleaks
exynos4210_rtc: Useptimer_free()in the finalize function to avoid
memleaks
mss-timer: Useptimer_free()in the finalize function to avoid
memleaks
musicpal: Useptimer_free()in the finalize function to avoid
memleaksApplied to target-arm.next, thanks.
Quoted 8 lines
PS: something odd happened with the threading of this series -- the patch emails weren't follow-ups to the cover letter -- so the automated tools like patchew got confused and thought the series was empty:
https://patchew.org/QEMU/[email protected]
m/You might want to look into fixing that for next time you send a patchset.
Thanks for telling me the error that occurred when receiving this patch email. I will fix it.