diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-29 01:58:09 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-29 01:58:09 +0100 |
commit | 0f5f27e853ad71f721720fef1395d116b0f46ae7 (patch) | |
tree | 13b852e2f27c12483d6cf2ce2fac1d02775010d6 | |
parent | eb32dd626a61ab98db4f505aad9a2b9b7cfd6494 (diff) |
fix minor leak from getopt
-rw-r--r-- | src/exchange/taler-exchange-httpd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index f1777cf7f..f5acd1cd8 100644 --- 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 (); |