diff --git a/source/mact/src/scriplib.cpp b/source/mact/src/scriplib.cpp index 25ef295bf..dbb6e3458 100644 --- a/source/mact/src/scriplib.cpp +++ b/source/mact/src/scriplib.cpp @@ -80,6 +80,7 @@ void SCRIPT_Delete(int32_t scripthandle) SCRIPT(scripthandle,apScript) = s; } + SCRIPT_FreeSection(SCRIPT(scripthandle, apScript)); Bfree(SCRIPT(scripthandle,apScript)); }