From a58f9c490266553ada1095e3a88f31c42c36eee0 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 20 Dec 2012 15:32:29 +0000 Subject: [PATCH] - fix --- src/mesh/test_mesh_small.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mesh/test_mesh_small.c b/src/mesh/test_mesh_small.c index 1fbb45adf..74840df1c 100644 --- a/src/mesh/test_mesh_small.c +++ b/src/mesh/test_mesh_small.c @@ -527,10 +527,15 @@ data_callback (void *cls, struct GNUNET_MESH_Tunnel *tunnel, void **tunnel_ctx, show_end_data(); } if (test == P2P_SIGNAL) + { GNUNET_MESH_tunnel_destroy (incoming_t); + incoming_t = NULL; + } else + { GNUNET_MESH_tunnel_destroy (t); - t = NULL; + t = NULL; + } } if (GNUNET_SCHEDULER_NO_TASK != disconnect_task) -- 2.25.1