diff options
author | Haru <haru@dotalux.com> | 2015-08-28 02:45:20 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-09-08 10:28:09 +0200 |
commit | 860f4eb744af463dd4a0e7d11e7882973ccf1e44 (patch) | |
tree | 504474d504267378c41032fec51f3ee148e36edd /src/map/script.c | |
parent | 1cfcb9df15419adf67353098c1c69b61f5c93baf (diff) | |
download | hercules-860f4eb744af463dd4a0e7d11e7882973ccf1e44.tar.gz hercules-860f4eb744af463dd4a0e7d11e7882973ccf1e44.tar.bz2 hercules-860f4eb744af463dd4a0e7d11e7882973ccf1e44.tar.xz hercules-860f4eb744af463dd4a0e7d11e7882973ccf1e44.zip |
Fixed some memory leaks in code using libconfig
- Special thanks to Dastgir
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c index 3e6fb2c47..dc0edcb01 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -4719,6 +4719,7 @@ void script_load_translations(void) { script->load_translation(translation_file, ++lang_id, &total); } + libconfig->destroy(&translations_conf); if( total ) { DBIterator *main_iter; |