diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-12 10:39:48 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-12 10:39:48 +0000 |
commit | 7a3b9e9ef1cc14aba7f025580483dc01e61242f3 (patch) | |
tree | 4950a298099a2fb70b8b496e74cdba444b168540 | |
parent | 78e65a25a576101d5e00b36fd1a93353d900ea2d (diff) | |
download | gnunet-7a3b9e9ef1cc14aba7f025580483dc01e61242f3.tar.gz gnunet-7a3b9e9ef1cc14aba7f025580483dc01e61242f3.zip |
-fix
-rw-r--r-- | src/vpn/gnunet-service-vpn.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/vpn/gnunet-service-vpn.c b/src/vpn/gnunet-service-vpn.c index 81040c636..edf1948e1 100644 --- a/src/vpn/gnunet-service-vpn.c +++ b/src/vpn/gnunet-service-vpn.c | |||
@@ -1761,13 +1761,11 @@ cleanup_destination (void *cls, | |||
1761 | GNUNET_MESH_tunnel_destroy (de->tunnel); | 1761 | GNUNET_MESH_tunnel_destroy (de->tunnel); |
1762 | de->tunnel = NULL; | 1762 | de->tunnel = NULL; |
1763 | } | 1763 | } |
1764 | /* | 1764 | if (NULL != de->heap_node) |
1765 | if (NULL != ts->heap_node) | ||
1766 | { | 1765 | { |
1767 | GNUNET_CONTAINER_heap_remove_node (ts->heap_node); | 1766 | GNUNET_CONTAINER_heap_remove_node (de->heap_node); |
1768 | ts->heap_node = NULL; | 1767 | de->heap_node = NULL; |
1769 | } | 1768 | } |
1770 | */ | ||
1771 | GNUNET_free (de); | 1769 | GNUNET_free (de); |
1772 | return GNUNET_OK; | 1770 | return GNUNET_OK; |
1773 | } | 1771 | } |