summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/script.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 414c2e758..a3b858131 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -3901,6 +3901,11 @@ void do_final_script(void) {
if( script->word_buf != NULL )
aFree(script->word_buf);
+ if( script->local_casecheck_str_buf )
+ aFree(script->local_casecheck_str_buf);
+ if( script->local_casecheck_str_data )
+ aFree(script->local_casecheck_str_data);
+
ers_destroy(script->st_ers);
ers_destroy(script->stack_ers);