Home
last modified time | relevance | path

Searched hist:f8a83245 (Results 1 – 2 of 2) sorted by relevance

/qemu/
H A Dqemu-nbd.cf8a83245 Sun Jan 24 21:23:56 GMT 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 Dblock.cf8a83245 Sun Jan 24 21:23:56 GMT 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>