commit b6c2aad49e0442206e742b1f662f04013e2402b3
parent ecb39ef51c90cd1733282fb7c6472da258bf8aca
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 17 Feb 2020 18:35:14 +0100
fix
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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;
}