mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 11:40:44 +00:00
Fix memory leak in MACT scriplib.cpp
git-svn-id: https://svn.eduke32.com/eduke32@6538 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
de5f16b1c5
commit
cba4b950ef
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ void SCRIPT_Delete(int32_t scripthandle)
|
||||||
SCRIPT(scripthandle,apScript) = s;
|
SCRIPT(scripthandle,apScript) = s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SCRIPT_FreeSection(SCRIPT(scripthandle, apScript));
|
||||||
Bfree(SCRIPT(scripthandle,apScript));
|
Bfree(SCRIPT(scripthandle,apScript));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue