summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-18 04:52:49 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-18 04:52:49 +0000
commitf3f402e61d1fd7e154d7ee12b9e70e8d6d4135d4 (patch)
tree3dc126e0d407a7d11f6af1d39e8c3c3346ae8247 /src
parenta1195cf9de2da04f818825dcaff64fae96f6f10b (diff)
downloadhercules-f3f402e61d1fd7e154d7ee12b9e70e8d6d4135d4.tar.gz
hercules-f3f402e61d1fd7e154d7ee12b9e70e8d6d4135d4.tar.bz2
hercules-f3f402e61d1fd7e154d7ee12b9e70e8d6d4135d4.tar.xz
hercules-f3f402e61d1fd7e154d7ee12b9e70e8d6d4135d4.zip
Fixed crash
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@240 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/map.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 7ecc3eb2a..755069b80 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1642,6 +1642,7 @@ int map_readallmap(void) {
}
}
}
+ if (afm_file != NULL)
fclose(afm_file);
}