- fixed: The light defaults were not fully deleted on an engine restart.
This commit is contained in:
parent
faa4bb45c9
commit
1aba33122b
3 changed files with 3 additions and 3 deletions
|
|
@ -2709,7 +2709,7 @@ void D_DoomMain (void)
|
|||
DestroyCVarsFlagged(CVAR_MOD); // Delete any cvar left by mods
|
||||
FS_Close(); // destroy the global FraggleScript.
|
||||
DeinitMenus();
|
||||
LightDefaults.Clear(); // this can leak heap memory if it isn't cleared.
|
||||
LightDefaults.DeleteAndClear(); // this can leak heap memory if it isn't cleared.
|
||||
|
||||
// delete DoomStartupInfo data
|
||||
DoomStartupInfo.Name = (const char*)0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue