summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.c')
-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);
}