[Qemu-devel] [PATCH 0/4] fix memory leak which allocted by the setter of object_property_add_str

2015-12-22 Thread Li Zhijian
free the resources allocted by this setter at the instance finalization. Li Zhijian (4): net/filter: fix nf->netdev_id leak net/dump: fix nfds->filename leak backends/hostmem-file: fix fb->mem_path leak hw/ppc/spapr: fix spapr->kvm_type leak backends/hostmem-file.c | 8 hw/ppc/s

Re: [Qemu-devel] [PATCH 0/4] fix memory leak

2015-07-10 Thread Paolo Bonzini
On 10/07/2015 02:51, arei.gong...@huawei.com wrote: > From: Gonglei > > Spotted by Coverity. > > Gonglei (4): > cpu: fix memory leak > ppc/spapr_drc: fix memory leak > arm/xlnx-zynqmp: fix memory leak > vl.c: fix memory leak > > hw/arm/xlnx-zynqmp.c | 4 ++-- > hw/ppc/spapr_drc.c |

[Qemu-devel] [PATCH 0/4] fix memory leak

2015-07-09 Thread arei.gonglei
From: Gonglei Spotted by Coverity. Gonglei (4): cpu: fix memory leak ppc/spapr_drc: fix memory leak arm/xlnx-zynqmp: fix memory leak vl.c: fix memory leak hw/arm/xlnx-zynqmp.c | 4 ++-- hw/ppc/spapr_drc.c | 1 + target-i386/cpu.c| 2 +- vl.c | 5 - 4 files cha

[Qemu-devel] [PATCH 0/4] Fix memory leak due to calling qemu_find_file and not freeing return buf

2015-05-28 Thread Shannon Zhao
From: Shannon Zhao 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 fi

[Qemu-devel] [PATCH 0/4] Fix memory leak in page_cache

2013-02-25 Thread Orit Wasserman
XBZRLE encoded migration introduced a MRU page cache meachnism. Unfortunately, cached items where never freed on a collision. This lead to out of memory conditions during XBZRLE migration if the page cache was small and there where a lot of collisions. Orit Wasserman (2): Fix page_cache leak in

Re: [Qemu-devel] [PATCH 0/4] Fix memory leak in page_cache

2013-02-25 Thread Peter Maydell
On 25 February 2013 13:19, Orit Wasserman wrote: > XBZRLE encoded migration introduced a MRU page cache meachnism. > Unfortunately, cached items where never freed on a collision. > > This lead to out of memory conditions during XBZRLE migration > if the page cache was small and there where a lot o