From: Christian Grothoff Date: Tue, 21 Feb 2017 09:38:09 +0000 (+0100) Subject: prevent crash on exit X-Git-Tag: taler-0.2.1~117 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c1d325e4700772b36fdaf897295c05e9d3f9211c;p=oweals%2Fgnunet.git prevent crash on exit --- 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); }