qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] Fix memory leak due to calling qemu_find_file and not freeing return buf
@ 2015-05-28 11:13 Shannon Zhao
  2015-05-28 11:13 ` [Qemu-devel] [PATCH 1/4] hw/display/cg3.c: Fix memory leak Shannon Zhao
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Shannon Zhao @ 2015-05-28 11:13 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, pbonzini, mjt, shannon.zhao

From: Shannon Zhao <shannon.zhao@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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-05-29  6:18 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-28 11:13 [Qemu-devel] [PATCH 0/4] Fix memory leak due to calling qemu_find_file and not freeing return buf Shannon Zhao
2015-05-28 11:13 ` [Qemu-devel] [PATCH 1/4] hw/display/cg3.c: Fix memory leak Shannon Zhao
2015-05-28 11:55   ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
2015-05-28 12:08     ` Shannon Zhao
2015-05-28 11:13 ` [Qemu-devel] [PATCH 2/4] hw/alpha/dp264.c: Fix memory leak spotted by valgrind Shannon Zhao
2015-05-28 11:50   ` Michael Tokarev
2015-05-28 11:58     ` Shannon Zhao
2015-05-28 11:13 ` [Qemu-devel] [PATCH 3/4] hw/ppc/e500.c: Fix memory leak Shannon Zhao
2015-05-28 11:57   ` Michael Tokarev
2015-05-28 11:13 ` [Qemu-devel] [PATCH 4/4] hw/display/tcx.c: Fix memory leak spotted by valgrind Shannon Zhao
2015-05-28 11:54   ` Michael Tokarev
2015-05-28 12:01     ` Michael Tokarev
2015-05-28 12:19       ` Mark Cave-Ayland
2015-05-29  6:18         ` Michael Tokarev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).