From b4d197c667353f417069c406b85a696e3e2e5b6c Mon Sep 17 00:00:00 2001 From: shennetsind Date: Tue, 12 Nov 2013 21:24:48 -0200 Subject: Follow up ce6c4c63a3a5c1516780f2eac978d02820a8dc0b Fixed shutdown memory manager warning. Signed-off-by: shennetsind --- src/map/script.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2