From: Christian Grothoff Date: Thu, 14 Jul 2011 17:27:25 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~17869 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=17ca3db3e5a8a9a7e1f4f7f9c9116ed45d0afa2c;p=oweals%2Fgnunet.git fix --- 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; + } }