summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}