[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/2] delay timer_new from init to realize to fix memleaks.
From: |
pannengyuan |
Subject: |
[PATCH v2 0/2] delay timer_new from init to realize to fix memleaks. |
Date: |
Mon, 17 Feb 2020 11:21:25 +0800 |
From: Pan Nengyuan <address@hidden>
v1:
- Delay timer_new() from init() to realize() to fix memleaks.
v2:
- Similarly to other cleanups, move timer_new into realize in
target/s390x/cpu.c (Suggested by Philippe Mathieu-Daudé).
- Send these two patches as a series instead of sending each as a single
patch but with wrong subject in v1.
Pan Nengyuan (2):
s390x: fix memleaks in cpu_finalize
hw: move timer_new from init() into realize() to avoid memleaks
hw/arm/pxa2xx.c | 17 +++++++++++------
hw/arm/spitz.c | 8 +++++++-
hw/arm/strongarm.c | 18 ++++++++++++------
hw/misc/mos6522.c | 14 ++++++++++++--
hw/timer/cadence_ttc.c | 16 +++++++++++-----
target/s390x/cpu.c | 22 ++++++++++++++++++----
6 files changed, 71 insertions(+), 24 deletions(-)
--
2.21.0.windows.1
- [PATCH v2 0/2] delay timer_new from init to realize to fix memleaks.,
pannengyuan <=