refix codesonar finding 2366.9987
authorxrs <xrs@mail36.net>
Wed, 4 Jul 2018 17:11:41 +0000 (19:11 +0200)
committerxrs <xrs@mail36.net>
Wed, 4 Jul 2018 17:11:41 +0000 (19:11 +0200)
src/arm/test_exponential_backoff.c

index 71c98211a530f909c36405e86399a7a33bccddc3..f15bca2dbddaa4d6b4899d9b369b179d571e560a 100644 (file)
@@ -344,7 +344,7 @@ init ()
   if (GNUNET_OK != GNUNET_CONFIGURATION_parse (cfg,
                                                "test_arm_api_data.conf"))
   {
-    GNUNET_free (cfg);
+    GNUNET_CONFIGURATION_destroy (cfg);
     return GNUNET_SYSERR;
   }
   if (NULL == getcwd (pwd, PATH_MAX))