summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--navit/maptool/osm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/maptool/osm.c b/navit/maptool/osm.c
index ed05dd3a..ca89d012 100644
--- a/navit/maptool/osm.c
+++ b/navit/maptool/osm.c
@@ -3216,6 +3216,7 @@ write_countrydir(struct zip_info *zip_info, int max_index_size)
index_country_add(zip_info,co->countryid,NULL,NULL,tileco,countryindexname, partsize, zip_get_index(zip_info));
fclose(countryindex);
g_free(countryindexname);
+ fclose(in);
}
}
}