summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2021-05-15 18:27:41 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2021-05-15 18:27:41 +0200
commita32caa414945a64ae75561d5edb87498d86f265a (patch)
treed5323dea22ebba166c3bc7a40e67b4f0b8225441
parentab49acfccf8b3d5f5f48aaad990417b031db1067 (diff)
-nptr
-rw-r--r--src/arm/arm_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arm/arm_api.c b/src/arm/arm_api.c
index 0bffbc26d..afc32fc3a 100644
--- a/src/arm/arm_api.c
+++ b/src/arm/arm_api.c
@@ -768,7 +768,8 @@ start_arm_service (struct GNUNET_ARM_Handle *h,
}
GNUNET_free (binary);
GNUNET_free (quotedbinary);
- GNUNET_free (config);
+ if (NULL != config)
+ GNUNET_free (config);
GNUNET_free (loprefix);
GNUNET_free (lopostfix);
if (NULL == proc)