summaryrefslogtreecommitdiff
path: root/src/mhd/mhd_legal.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-02-17 18:35:14 +0100
committerChristian Grothoff <christian@grothoff.org>2020-02-17 18:35:14 +0100
commitb6c2aad49e0442206e742b1f662f04013e2402b3 (patch)
tree3ca8ef073d63a13a6c99079746f58a957a155b67 /src/mhd/mhd_legal.c
parentecb39ef51c90cd1733282fb7c6472da258bf8aca (diff)
downloadexchange-b6c2aad49e0442206e742b1f662f04013e2402b3.tar.gz
exchange-b6c2aad49e0442206e742b1f662f04013e2402b3.tar.bz2
exchange-b6c2aad49e0442206e742b1f662f04013e2402b3.zip
fix
Diffstat (limited to 'src/mhd/mhd_legal.c')
-rw-r--r--src/mhd/mhd_legal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c
index 00a5e678c..476b01c91 100644
--- a/src/mhd/mhd_legal.c
+++ b/src/mhd/mhd_legal.c
@@ -563,6 +563,7 @@ TALER_MHD_legal_load (const struct GNUNET_CONFIGURATION_Handle *cfg,
"Could not open directory");
GNUNET_free (legal->terms_etag);
GNUNET_free (legal);
+ GNUNET_free (path);
return NULL;
}
for (struct dirent *de = readdir (d);
@@ -576,7 +577,7 @@ TALER_MHD_legal_load (const struct GNUNET_CONFIGURATION_Handle *cfg,
load_language (legal, path, lang);
}
closedir (d);
- free (path);
+ GNUNET_free (path);
return legal;
}