comparison remap.c @ 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 587353009f65
comparison
equal deleted inserted replaced
341:090b808c421b 342:83758bfacd4c
226 continue; 226 continue;
227 } 227 }
228 remap_add_node( map, tmp); 228 remap_add_node( map, tmp);
229 } 229 }
230 } 230 }
231 fclose(fp);
231 232
232 if (map->nblocks == 0 && map->debug == 0) { 233 if (map->nblocks == 0 && map->debug == 0) {
233 free(map); 234 free(map);
234 return NULL; 235 return NULL;
235 } 236 }