Fix qemu_vfree implementation on MINGW

Also correctly release bounce.buffer
This commit is contained in:
mio
2024-09-21 17:58:15 +08:00
parent 379791ad56
commit a5fa548049
2 changed files with 2 additions and 2 deletions

View File

@@ -139,7 +139,7 @@ void qemu_vfree(void *ptr)
{
#ifdef __MINGW32__
if (ptr) {
VirtualFree(ptr, 0, MEM_RELEASE);
__mingw_aligned_free(ptr);
}
#else
//trace_qemu_vfree(ptr);