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.
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 | 11 +++++++---- hw/display/cg3.c | 1 + hw/display/tcx.c | 1 + hw/ppc/e500.c | 2 ++ 4 files changed, 11 insertions(+), 4 deletions(-) -- 2.0.4