[fix] close file handle

This commit is contained in:
Al
2015-11-30 12:51:13 -05:00
parent 9a8ba14887
commit 5682c347ac

View File

@@ -104,6 +104,7 @@ geodb_t *geodb_init(char *dir) {
goto exit_geodb_created;
}
fclose(f);
char_array_clear(path);
char_array_cat_joined(path, PATH_SEPARATOR, true, 2, dir, GEODB_HASH_FILENAME);