From 5682c347acaa099b926f9762023e514db2d9dee5 Mon Sep 17 00:00:00 2001 From: Al Date: Mon, 30 Nov 2015 12:51:13 -0500 Subject: [PATCH] [fix] close file handle --- src/geodb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/geodb.c b/src/geodb.c index ad731ee8..214ed533 100644 --- a/src/geodb.c +++ b/src/geodb.c @@ -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);