This commit is contained in:
Christian Grothoff 2020-02-17 18:35:14 +01:00
parent ecb39ef51c
commit b6c2aad49e
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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;
}