fixing leak (1700/4444)
authorChristian Grothoff <christian@grothoff.org>
Wed, 22 Jun 2011 12:15:30 +0000 (12:15 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 22 Jun 2011 12:15:30 +0000 (12:15 +0000)
src/transport/transport_api_new.c

index ef32a1547f490c041895c20b962f68349ddd570f..fe30647d99052d32afd00f6b1c7576cee9a5b94c 100644 (file)
@@ -1357,6 +1357,7 @@ GNUNET_TRANSPORT_disconnect (struct GNUNET_TRANSPORT_Handle *handle)
   handle->my_hello = NULL;
   GNUNET_assert (handle->hwl_head == NULL);
   GNUNET_assert (handle->hwl_tail == NULL);
+  GNUNET_CONTAINER_heap_destroy (handle->ready_heap);
   GNUNET_free (handle);
 }