From a268f0dce511b6549cb2686d4bde2aaa6641ae33 Mon Sep 17 00:00:00 2001 From: ultramage Date: Sat, 13 Oct 2007 03:00:51 +0000 Subject: Fixed memleak hell during mapserver shutdown (if grf reading is used and the deallocation routine is actually called). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11439 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/map.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/map.c') diff --git a/src/map/map.c b/src/map/map.c index 3df8bee8e..553b364f5 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -3189,6 +3189,8 @@ void do_final(void) } mapindex_final(); + if(enable_grf) + grfio_final(); id_db->destroy(id_db, NULL); pc_db->destroy(pc_db, NULL); -- cgit v1.2.3-60-g2f50