From 18fdfc54ce13a4b67d24c835e013492fc30507db Mon Sep 17 00:00:00 2001 From: xrs Date: Tue, 3 Jul 2018 22:47:49 +0200 Subject: [PATCH] fix codesonar finding 2366.9987 --- src/arm/test_exponential_backoff.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/arm/test_exponential_backoff.c b/src/arm/test_exponential_backoff.c index 4a7d51bc7..71c98211a 100644 --- a/src/arm/test_exponential_backoff.c +++ b/src/arm/test_exponential_backoff.c @@ -343,7 +343,10 @@ init () cfg = GNUNET_CONFIGURATION_create (); if (GNUNET_OK != GNUNET_CONFIGURATION_parse (cfg, "test_arm_api_data.conf")) + { + GNUNET_free (cfg); return GNUNET_SYSERR; + } if (NULL == getcwd (pwd, PATH_MAX)) return GNUNET_SYSERR; GNUNET_assert (0 < GNUNET_asprintf (&binary, -- 2.25.1