Searched hist:f8a83245d9ec685bc6aa6173d6765fe03e20688f (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/ |
H A D | qemu-nbd.c | diff f8a83245d9ec685bc6aa6173d6765fe03e20688f Sun Jan 24 15:23:56 CST 2010 Herve Poussineau <hpoussin@reactos.org> win32: pair qemu_memalign() with qemu_vfree()
Win32 suffers from a very big memory leak when dealing with SCSI devices. Each read/write request allocates memory with qemu_memalign (ie VirtualAlloc) but frees it with qemu_free (ie free). Pair all qemu_memalign() calls with qemu_vfree() to prevent such leaks.
Signed-off-by: Herve Poussineau <hpoussin@reactos.org> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
H A D | block.c | diff f8a83245d9ec685bc6aa6173d6765fe03e20688f Sun Jan 24 15:23:56 CST 2010 Herve Poussineau <hpoussin@reactos.org> win32: pair qemu_memalign() with qemu_vfree()
Win32 suffers from a very big memory leak when dealing with SCSI devices. Each read/write request allocates memory with qemu_memalign (ie VirtualAlloc) but frees it with qemu_free (ie free). Pair all qemu_memalign() calls with qemu_vfree() to prevent such leaks.
Signed-off-by: Herve Poussineau <hpoussin@reactos.org> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|