diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-13 03:00:51 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-13 03:00:51 +0000 |
commit | a268f0dce511b6549cb2686d4bde2aaa6641ae33 (patch) | |
tree | 101ab7d22f5dc6e68fa1a8926ae7c9ecdc71234f /src/map | |
parent | 492dee2050bbfa25a16050143cd175b8ecedf355 (diff) | |
download | hercules-a268f0dce511b6549cb2686d4bde2aaa6641ae33.tar.gz hercules-a268f0dce511b6549cb2686d4bde2aaa6641ae33.tar.bz2 hercules-a268f0dce511b6549cb2686d4bde2aaa6641ae33.tar.xz hercules-a268f0dce511b6549cb2686d4bde2aaa6641ae33.zip |
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
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/map.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |