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/quest.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/quest.c')
-rw-r--r-- | src/map/quest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/quest.c b/src/map/quest.c index ddbd2f92d..fe4014ae5 100644 --- a/src/map/quest.c +++ b/src/map/quest.c @@ -529,6 +529,7 @@ int quest_read_db(void) count++; } + libconfig->destroy(&quest_db_conf); ShowStatus("Done reading '"CL_WHITE"%d"CL_RESET"' entries in '"CL_WHITE"%s"CL_RESET"'.\n", count, filename); return count; } |