diff options
Diffstat (limited to 'src/qcommon/vm_x86_64.c')
-rw-r--r-- | src/qcommon/vm_x86_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qcommon/vm_x86_64.c b/src/qcommon/vm_x86_64.c index 0eb79306..09a9c6d1 100644 --- a/src/qcommon/vm_x86_64.c +++ b/src/qcommon/vm_x86_64.c @@ -1041,7 +1041,7 @@ void VM_Destroy_Compiled(vm_t* self) #ifdef USE_GAS munmap(self->codeBase, self->codeLength); #elif _WIN32 - VirtualFree(self->codeBase, self->codeLength, MEM_RELEASE); + VirtualFree(self->codeBase, 0, MEM_RELEASE); #else munmap(self->codeBase, self->codeLength); #endif |