diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-02-17 18:35:14 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-02-17 18:35:14 +0100 |
commit | b6c2aad49e0442206e742b1f662f04013e2402b3 (patch) | |
tree | 3ca8ef073d63a13a6c99079746f58a957a155b67 /src/mhd | |
parent | ecb39ef51c90cd1733282fb7c6472da258bf8aca (diff) |
fix
Diffstat (limited to 'src/mhd')
-rw-r--r-- | src/mhd/mhd_legal.c | 3 |
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; } |