From: Shannon Zhao <shannon.z...@linaro.org>

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