mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
*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:
parent
6398316b1f
commit
3ca64edd06
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue