summaryrefslogtreecommitdiff
path: root/src/util/disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/disk.c')
-rw-r--r--src/util/disk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/disk.c b/src/util/disk.c
index e0227be70..26b615df9 100644
--- a/src/util/disk.c
+++ b/src/util/disk.c
@@ -605,6 +605,7 @@ GNUNET_DISK_mktemp (const char *t)
umask (omask);
if (0 != CLOSE (fd))
LOG_STRERROR_FILE (GNUNET_ERROR_TYPE_WARNING, "close", fn);
+ GNUNET_free (fn);
return fn;
}