diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-04-26 15:11:13 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-04-26 15:11:13 +0200 |
commit | 51c0c5072fa27f4964778512a0040c77cce7cd04 (patch) | |
tree | 5fe16b14348414e0fd679a19f72b53e13062bbb3 /src | |
parent | 3a995fce417f184fa8633af5f55b8e0eb06d84be (diff) |
-handle NULL
Diffstat (limited to 'src')
-rw-r--r-- | src/util/gnunet-config.c | 3 |
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); } |