commit | f8a83245d9ec685bc6aa6173d6765fe03e20688f | [log] [tgz] |
---|---|---|
author | Herve Poussineau <hpoussin@reactos.org> | Sun Jan 24 21:23:56 2010 +0000 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Tue Jan 26 16:41:06 2010 -0600 |
tree | ec0519bd357c16c937ac367dd0111d6f5f9b9d09 | |
parent | a35aed57bf47584b5f55b71acf8daba19decf12a [diff] |
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>