mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
Fix huge memory leak with savemapstate
git-svn-id: https://svn.eduke32.com/eduke32@6536 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
6231c0bdf5
commit
9e9f4168af
1 changed files with 1 additions and 1 deletions
|
@ -1436,7 +1436,7 @@ end_vol4a:
|
||||||
Gv_ResetSystemDefaults();
|
Gv_ResetSystemDefaults();
|
||||||
|
|
||||||
for (bssize_t i=0; i<(MAXVOLUMES*MAXLEVELS); i++)
|
for (bssize_t i=0; i<(MAXVOLUMES*MAXLEVELS); i++)
|
||||||
ALIGNED_FREE_AND_NULL(g_mapInfo[i].savedstate);
|
G_FreeMapState(i);
|
||||||
|
|
||||||
if (ud.m_coop != 1)
|
if (ud.m_coop != 1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue