fixing 1719
authorChristian Grothoff <christian@grothoff.org>
Thu, 23 Jun 2011 10:29:20 +0000 (10:29 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 23 Jun 2011 10:29:20 +0000 (10:29 +0000)
src/transport/transport_api_new.c

index fe30647d99052d32afd00f6b1c7576cee9a5b94c..26ad16a2e62c3198cf5c9ba7f3737ae9d065d1b6 100644 (file)
@@ -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);
 }