summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-12 21:24:48 -0200
committershennetsind <ind@henn.et>2013-11-12 21:24:48 -0200
commitb4d197c667353f417069c406b85a696e3e2e5b6c (patch)
tree3bf2cc35a7d377faf80824fa4a2106c9f3c6dacd /src
parent6e1980bf17132d7540832226aa33512e95e7a261 (diff)
downloadhercules-b4d197c667353f417069c406b85a696e3e2e5b6c.tar.gz
hercules-b4d197c667353f417069c406b85a696e3e2e5b6c.tar.bz2
hercules-b4d197c667353f417069c406b85a696e3e2e5b6c.tar.xz
hercules-b4d197c667353f417069c406b85a696e3e2e5b6c.zip
Follow up ce6c4c63a3a5c1516780f2eac978d02820a8dc0b
Fixed shutdown memory manager warning. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src')
-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);