From: Christian Grothoff Date: Thu, 23 Jun 2011 10:29:20 +0000 (+0000) Subject: fixing 1719 X-Git-Tag: initial-import-from-subversion-38251~18047 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e386b0559c9dce3bf4ff382c37ff72ffe7850de4;p=oweals%2Fgnunet.git fixing 1719 --- diff --git a/src/transport/transport_api_new.c b/src/transport/transport_api_new.c index fe30647d9..26ad16a2e 100644 --- a/src/transport/transport_api_new.c +++ b/src/transport/transport_api_new.c @@ -1358,6 +1358,7 @@ GNUNET_TRANSPORT_disconnect (struct GNUNET_TRANSPORT_Handle *handle) GNUNET_assert (handle->hwl_head == NULL); GNUNET_assert (handle->hwl_tail == NULL); GNUNET_CONTAINER_heap_destroy (handle->ready_heap); + handle->ready_heap = NULL; GNUNET_free (handle); }