From 17ca3db3e5a8a9a7e1f4f7f9c9116ed45d0afa2c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 14 Jul 2011 17:27:25 +0000 Subject: [PATCH] fix --- src/transport/test_transport_api_unreliability.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/transport/test_transport_api_unreliability.c b/src/transport/test_transport_api_unreliability.c index 0bc85b174..7f31edffd 100644 --- a/src/transport/test_transport_api_unreliability.c +++ b/src/transport/test_transport_api_unreliability.c @@ -466,7 +466,10 @@ notify_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer) GNUNET_i2s (peer), cls); #endif if (th_p2 != NULL) - GNUNET_TRANSPORT_notify_transmit_ready_cancel(th_p2); + { + GNUNET_TRANSPORT_notify_transmit_ready_cancel (th_p2); + th_p2 = NULL; + } } -- 2.25.1