[fix] close file handle
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user