From 51c0c5072fa27f4964778512a0040c77cce7cd04 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 26 Apr 2021 15:11:13 +0200 Subject: -handle NULL --- src/util/gnunet-config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/gnunet-config.c b/src/util/gnunet-config.c index feab6123c..d619610c5 100644 --- a/src/util/gnunet-config.c +++ b/src/util/gnunet-config.c @@ -299,7 +299,8 @@ run (void *cls, } GNUNET_free (cfg_fn); } - GNUNET_CONFIGURATION_destroy (out); + if (NULL != out) + GNUNET_CONFIGURATION_destroy (out); } -- cgit v1.2.3