-fix
authorChristian Grothoff <christian@grothoff.org>
Thu, 12 Jan 2012 10:39:48 +0000 (10:39 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 12 Jan 2012 10:39:48 +0000 (10:39 +0000)
src/vpn/gnunet-service-vpn.c

index 81040c63678780d5697f8c283af9346803e713ab..edf1948e1a1234c494bbeae7efa5c6a74a78a80e 100644 (file)
@@ -1761,13 +1761,11 @@ cleanup_destination (void *cls,
     GNUNET_MESH_tunnel_destroy (de->tunnel);
     de->tunnel = NULL;
   }
-  /*
-  if (NULL != ts->heap_node)
+  if (NULL != de->heap_node)
   {
-    GNUNET_CONTAINER_heap_remove_node (ts->heap_node);
-    ts->heap_node = NULL;
+    GNUNET_CONTAINER_heap_remove_node (de->heap_node);
+    de->heap_node = NULL;
   }
-  */
   GNUNET_free (de);
   return GNUNET_OK;
 }