diff options
author | shennetsind <ind@henn.et> | 2013-11-12 21:24:48 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-11-12 21:24:48 -0200 |
commit | b4d197c667353f417069c406b85a696e3e2e5b6c (patch) | |
tree | 3bf2cc35a7d377faf80824fa4a2106c9f3c6dacd | |
parent | 6e1980bf17132d7540832226aa33512e95e7a261 (diff) | |
download | hercules-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>
-rw-r--r-- | src/map/script.c | 5 |
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); |