From 0f5f27e853ad71f721720fef1395d116b0f46ae7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 29 Mar 2020 01:58:09 +0100 Subject: fix minor leak from getopt --- src/exchange/taler-exchange-httpd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 (); -- cgit v1.2.3