From c1d325e4700772b36fdaf897295c05e9d3f9211c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 21 Feb 2017 10:38:09 +0100 Subject: [PATCH] prevent crash on exit --- src/core/core_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/core_api.c b/src/core/core_api.c index c1cfdb62f..fd789295d 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); } -- 2.25.1