aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/namestore/plugin_namestore_flat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/namestore/plugin_namestore_flat.c b/src/namestore/plugin_namestore_flat.c
index 4f5034d26c..923d2696f7 100644
--- a/src/namestore/plugin_namestore_flat.c
+++ b/src/namestore/plugin_namestore_flat.c
@@ -189,6 +189,7 @@ database_setup (struct Plugin *plugin)
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
_("Unable to get filesize: %s.\n"),
afsdir);
+ GNUNET_DISK_file_close (fh);
return GNUNET_SYSERR;
}