[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r19721 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r19721 - gnunet/src/mesh |
Date: |
Tue, 7 Feb 2012 16:59:51 +0100 |
Author: bartpolot
Date: 2012-02-07 16:59:51 +0100 (Tue, 07 Feb 2012)
New Revision: 19721
Modified:
gnunet/src/mesh/test_mesh_small.c
Log:
- Fix cleanup on timeout
Modified: gnunet/src/mesh/test_mesh_small.c
===================================================================
--- gnunet/src/mesh/test_mesh_small.c 2012-02-07 15:54:46 UTC (rev 19720)
+++ gnunet/src/mesh/test_mesh_small.c 2012-02-07 15:59:51 UTC (rev 19721)
@@ -233,6 +233,21 @@
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"test: disconnecting mesh service of peers\n");
disconnect_task = GNUNET_SCHEDULER_NO_TASK;
+ if (NULL != t)
+ {
+ GNUNET_MESH_tunnel_destroy(t);
+ t = NULL;
+ }
+ if (NULL != incoming_t)
+ {
+ GNUNET_MESH_tunnel_destroy(incoming_t);
+ incoming_t = NULL;
+ }
+ if (NULL != incoming_t2)
+ {
+ GNUNET_MESH_tunnel_destroy(incoming_t2);
+ incoming_t2 = NULL;
+ }
GNUNET_MESH_disconnect (h1);
GNUNET_MESH_disconnect (h2);
if (test == MULTICAST)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r19721 - gnunet/src/mesh,
gnunet <=