# HG changeset patch # User nicodvb # Date 1208601325 0 # Node ID 83758bfacd4c85ed78a84fb7fffc2c0ffb494f9f # Parent 090b808c421ba70cec7067b822b35416ad87363d in remap_loadmap() close the file pointer before exiting ; patch by Erik Hovland - erik hovland org diff -r 090b808c421b -r 83758bfacd4c remap.c --- 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);