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:
terminx 2017-12-02 12:42:25 +00:00
parent de5f16b1c5
commit cba4b950ef

View file

@ -80,6 +80,7 @@ void SCRIPT_Delete(int32_t scripthandle)
SCRIPT(scripthandle,apScript) = s;
}
SCRIPT_FreeSection(SCRIPT(scripthandle, apScript));
Bfree(SCRIPT(scripthandle,apScript));
}