aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/core_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c
index c1cfdb62fe..fd789295d1 100644
--- a/src/core/core_api.c
+++ b/src/core/core_api.c
@@ -835,7 +835,7 @@ GNUNET_CORE_disconnect (struct GNUNET_CORE_Handle *handle)
GNUNET_MQ_destroy (handle->mq);
handle->mq = NULL;
}
- GNUNET_free (handle->handlers);
+ GNUNET_free_non_null (handle->handlers);
GNUNET_free (handle);
}