summaryrefslogtreecommitdiff
path: root/src/qcommon/vm_x86_64.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2009-10-03 11:58:50 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:34 +0000
commitac3e5586cd56657ff1b6f5f64af7e1d7c76b410d (patch)
treeb245f2cbd4e7491b948aea5c7c080be61307c950 /src/qcommon/vm_x86_64.c
parentdc3819f1e99d8159bdb0ea1da26506b00fe78e62 (diff)
* Merge ioq3-r1458
Diffstat (limited to 'src/qcommon/vm_x86_64.c')
-rw-r--r--src/qcommon/vm_x86_64.c2
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