[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/7] Fix some memleaks caused by ptimer_init
From: |
Gan Qixin |
Subject: |
[PATCH 0/7] Fix some memleaks caused by ptimer_init |
Date: |
Fri, 27 Nov 2020 15:17:56 +0800 |
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
- [PATCH 0/7] Fix some memleaks caused by ptimer_init,
Gan Qixin <=
- [PATCH 5/7] exynos4210_rtc: Use ptimer_free() in the finalize function to avoid memleaks, Gan Qixin, 2020/11/27
- [PATCH 7/7] musicpal: Use ptimer_free() in the finalize function to avoid memleaks, Gan Qixin, 2020/11/27
- [PATCH 1/7] allwinner-a10-pit: Use ptimer_free() in the finalize function to avoid memleaks, Gan Qixin, 2020/11/27
- [PATCH 4/7] exynos4210_pwm: Use ptimer_free() in the finalize function to avoid memleaks, Gan Qixin, 2020/11/27
- [PATCH 3/7] exynos4210_mct: Use ptimer_free() in the finalize function to avoid memleaks, Gan Qixin, 2020/11/27
- [PATCH 2/7] digic-timer: Use ptimer_free() in the finalize function to avoid memleaks, Gan Qixin, 2020/11/27
- [PATCH 6/7] mss-timer: Use ptimer_free() in the finalize function to avoid memleaks, Gan Qixin, 2020/11/27