[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/4] Fix memory leak due to calling qemu_find_fil
From: |
Shannon Zhao |
Subject: |
[Qemu-devel] [PATCH v2 0/4] Fix memory leak due to calling qemu_find_file and not freeing return buf |
Date: |
Thu, 28 May 2015 20:39:40 +0800 |
From: Shannon Zhao <address@hidden>
Before I sent some patches to fix memory leak spotted by valgrind. Then
I'd like to dig deeper and find that two places have memory leak due to
calling qemu_find_file and not freeing return buf. Then through code
searching another two places are found. So this patchset is to fix them.
changes since v1:
address Michael Tokarev's comments
* remove unnecessary free before exit()
* fix error message
Shannon Zhao (4):
hw/display/cg3.c: Fix memory leak
hw/alpha/dp264.c: Fix memory leak spotted by valgrind
hw/ppc/e500.c: Fix memory leak
hw/display/tcx.c: Fix memory leak spotted by valgrind
hw/alpha/dp264.c | 7 ++++---
hw/display/cg3.c | 3 ++-
hw/display/tcx.c | 3 ++-
hw/ppc/e500.c | 1 +
4 files changed, 9 insertions(+), 5 deletions(-)
--
2.0.4
- [Qemu-devel] [PATCH v2 0/4] Fix memory leak due to calling qemu_find_file and not freeing return buf,
Shannon Zhao <=
- [Qemu-devel] [PATCH v2 3/4] hw/ppc/e500.c: Fix memory leak, Shannon Zhao, 2015/05/28
- [Qemu-devel] [PATCH v2 2/4] hw/alpha/dp264.c: Fix memory leak spotted by valgrind, Shannon Zhao, 2015/05/28
- [Qemu-devel] [PATCH v2 4/4] hw/display/tcx.c: Fix memory leak spotted by valgrind, Shannon Zhao, 2015/05/28
- [Qemu-devel] [PATCH v2 1/4] hw/display/cg3.c: Fix memory leak, Shannon Zhao, 2015/05/28
- Re: [Qemu-devel] [PATCH v2 0/4] Fix memory leak due to calling qemu_find_file and not freeing return buf, Michael Tokarev, 2015/05/28