changeset 342:83758bfacd4c src

in remap_loadmap() close the file pointer before exiting ; patch by Erik Hovland - erik hovland org
author nicodvb
date Sat, 19 Apr 2008 10:35:25 +0000
parents 090b808c421b
children a8d1de20346f
files remap.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/remap.c	Sat Apr 19 10:34:31 2008 +0000
+++ b/remap.c	Sat Apr 19 10:35:25 2008 +0000
@@ -228,6 +228,7 @@
 	    remap_add_node( map, tmp);
 	}
     }
+    fclose(fp);
 
     if (map->nblocks == 0 && map->debug == 0) {
         free(map);