diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-02-21 10:38:09 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-02-21 10:38:09 +0100 |
commit | c1d325e4700772b36fdaf897295c05e9d3f9211c (patch) | |
tree | 908545b9ad612f9bbde56ac409a28185beb0214e /src/core/core_api.c | |
parent | 24b8e62f2ed410ad5320f7cd1cace020fbaeb179 (diff) | |
download | gnunet-c1d325e4700772b36fdaf897295c05e9d3f9211c.tar.gz gnunet-c1d325e4700772b36fdaf897295c05e9d3f9211c.zip |
prevent crash on exit
Diffstat (limited to 'src/core/core_api.c')
-rw-r--r-- | src/core/core_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
835 | GNUNET_MQ_destroy (handle->mq); | 835 | GNUNET_MQ_destroy (handle->mq); |
836 | handle->mq = NULL; | 836 | handle->mq = NULL; |
837 | } | 837 | } |
838 | GNUNET_free (handle->handlers); | 838 | GNUNET_free_non_null (handle->handlers); |
839 | GNUNET_free (handle); | 839 | GNUNET_free (handle); |
840 | } | 840 | } |
841 | 841 | ||