Merge branch 'license/spdx'
[oweals/gnunet.git] / src / arm / test_exponential_backoff.c
index 71c98211a530f909c36405e86399a7a33bccddc3..e3c2a399ae9469ca1574451e4825d41b2a380124 100644 (file)
@@ -14,6 +14,8 @@
     
      You should have received a copy of the GNU Affero General Public License
      along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+     SPDX-License-Identifier: AGPL3.0-or-later
 */
 /**
  * @file arm/test_exponential_backoff.c
@@ -344,7 +346,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))