[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/4] Fix memory leaks in QEMU
From: |
Kirill Batuzov |
Subject: |
[Qemu-devel] [PATCH v2 0/4] Fix memory leaks in QEMU |
Date: |
Thu, 24 Apr 2014 18:15:55 +0400 |
This patch series addresses several cases of memory leaks I've found in QEMU
using Valgrind's Memcheck tool. I only checked "definitely lost" reports.
I ignored reports related to SDL/GTK because it is hard to tell if memory
leak occurred in QEMU or in the library.
List of addressed problems.
- Missing Error set by error_set deallocation in ui/console.c.
- Several missing qobject_decref.
- Incorrect usage of PortioList.
v1 -> v2:
All review feedback incorporated. Changes are listed in each individual patch.
Kirill Batuzov (4):
acpi/pcihp.c: Rewrite acpi_pcihp_get_bsel using
object_property_get_int
acpi-build: properly decrement objects' reference counters
console: Abort on property access errors
PortioList: Store PortioList in device state
hw/acpi/pcihp.c | 18 ++++++++++--------
hw/audio/adlib.c | 6 +++---
hw/display/qxl.c | 7 +++----
hw/display/qxl.h | 1 +
hw/display/vga.c | 12 +++++-------
hw/display/vga_int.h | 2 ++
hw/dma/i82374.c | 7 ++++---
hw/i386/acpi-build.c | 6 ++++++
hw/isa/isa-bus.c | 28 +++++++++++++++++++++++++---
hw/ppc/prep.c | 7 ++++---
hw/watchdog/wdt_ib700.c | 7 ++++---
include/hw/isa/isa.h | 1 +
ui/console.c | 30 +++++++++++++-----------------
13 files changed, 81 insertions(+), 51 deletions(-)
--
1.7.10.4
- [Qemu-devel] [PATCH v2 0/4] Fix memory leaks in QEMU,
Kirill Batuzov <=