summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-04-26 15:11:13 +0200
committerChristian Grothoff <christian@grothoff.org>2021-04-26 15:11:13 +0200
commit51c0c5072fa27f4964778512a0040c77cce7cd04 (patch)
tree5fe16b14348414e0fd679a19f72b53e13062bbb3
parent3a995fce417f184fa8633af5f55b8e0eb06d84be (diff)
-handle NULL
-rw-r--r--src/util/gnunet-config.c3
1 files changed, 2 insertions, 1 deletions
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);
}