*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
This commit is contained in:
Spoike 2007-07-23 13:32:17 +00:00
parent 6398316b1f
commit 3ca64edd06

View file

@ -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