qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-trivial] [PATCH v2 0/4] Fix memory leak due to calling qemu_find_f


From: Shannon Zhao
Subject: [Qemu-trivial] [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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]