From 860f4eb744af463dd4a0e7d11e7882973ccf1e44 Mon Sep 17 00:00:00 2001 From: Haru Date: Fri, 28 Aug 2015 02:45:20 +0200 Subject: Fixed some memory leaks in code using libconfig - Special thanks to Dastgir Signed-off-by: Haru --- src/map/quest.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/quest.c') 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; } -- cgit v1.2.3-60-g2f50