commit 0f5f27e853ad71f721720fef1395d116b0f46ae7
parent eb32dd626a61ab98db4f505aad9a2b9b7cfd6494
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 29 Mar 2020 01:58:09 +0100
fix minor leak from getopt
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
@@ -1241,6 +1241,8 @@ main (int argc,
GNUNET_log_setup ("taler-exchange-httpd",
(NULL == loglev) ? "INFO" : loglev,
logfile));
+ GNUNET_free_non_null (loglev);
+ GNUNET_free_non_null (logfile);
if (NULL == cfgfile)
cfgfile = GNUNET_strdup (GNUNET_OS_project_data_get ()->user_config_file);
TEH_cfg = GNUNET_CONFIGURATION_create ();