fix
This commit is contained in:
parent
ecb39ef51c
commit
b6c2aad49e
@ -563,6 +563,7 @@ TALER_MHD_legal_load (const struct GNUNET_CONFIGURATION_Handle *cfg,
|
|||||||
"Could not open directory");
|
"Could not open directory");
|
||||||
GNUNET_free (legal->terms_etag);
|
GNUNET_free (legal->terms_etag);
|
||||||
GNUNET_free (legal);
|
GNUNET_free (legal);
|
||||||
|
GNUNET_free (path);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
for (struct dirent *de = readdir (d);
|
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);
|
load_language (legal, path, lang);
|
||||||
}
|
}
|
||||||
closedir (d);
|
closedir (d);
|
||||||
free (path);
|
GNUNET_free (path);
|
||||||
return legal;
|
return legal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user