From 3ca64edd06ab548c0411fc60884721d0377875fe Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 23 Jul 2007 13:32:17 +0000 Subject: [PATCH] *Insert Witty Comment Here* Make the windows version match the linux version, fully fixing the 'size-of-russia' memory leak git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2546 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/qclib/initlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/qclib/initlib.c b/engine/qclib/initlib.c index c97e44236..bfecc7267 100644 --- a/engine/qclib/initlib.c +++ b/engine/qclib/initlib.c @@ -629,7 +629,7 @@ void CloseProgs(progfuncs_t *inst) PRHunkFree(inst, 0); #ifdef _WIN32 - VirtualFree(addressablehunk, 0, MEM_RELEASE); //doesn't this look complicated? :p + VirtualFree(inst->addressablehunk, 0, MEM_RELEASE); //doesn't this look complicated? :p #else free(inst->addressablehunk); #endif