aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cadet/cadet.conf.in2
-rw-r--r--src/cadet/gnunet-service-cadet-new_core.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/cadet/cadet.conf.in b/src/cadet/cadet.conf.in
index 296a648e2..86ba2e535 100644
--- a/src/cadet/cadet.conf.in
+++ b/src/cadet/cadet.conf.in
@@ -4,7 +4,7 @@ AUTOSTART = @AUTOSTART@
4@JAVAPORT@PORT = 2096 4@JAVAPORT@PORT = 2096
5HOSTNAME = localhost 5HOSTNAME = localhost
6BINARY = gnunet-service-cadet-new 6BINARY = gnunet-service-cadet-new
7PREFIX = valgrind --leak-check=yes 7# PREFIX = valgrind --leak-check=yes
8ACCEPT_FROM = 127.0.0.1; 8ACCEPT_FROM = 127.0.0.1;
9ACCEPT_FROM6 = ::1; 9ACCEPT_FROM6 = ::1;
10UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-cadet.sock 10UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-cadet.sock
diff --git a/src/cadet/gnunet-service-cadet-new_core.c b/src/cadet/gnunet-service-cadet-new_core.c
index b79b87de8..fda4a7b84 100644
--- a/src/cadet/gnunet-service-cadet-new_core.c
+++ b/src/cadet/gnunet-service-cadet-new_core.c
@@ -326,6 +326,10 @@ destroy_route (struct CadetRoute *route)
326 GNUNET_sh2s (&route->cid.connection_of_tunnel)); 326 GNUNET_sh2s (&route->cid.connection_of_tunnel));
327 GNUNET_assert (route == 327 GNUNET_assert (route ==
328 GNUNET_CONTAINER_heap_remove_node (route->hn)); 328 GNUNET_CONTAINER_heap_remove_node (route->hn));
329 GNUNET_assert (GNUNET_YES ==
330 GNUNET_CONTAINER_multishortmap_remove (routes,
331 &route->cid.connection_of_tunnel,
332 route));
329 destroy_direction (&route->prev); 333 destroy_direction (&route->prev);
330 destroy_direction (&route->next); 334 destroy_direction (&route->next);
331 GNUNET_free (route); 335 GNUNET_free (route);