From: Christian Grothoff Date: Thu, 7 Jul 2011 12:21:30 +0000 (+0000) Subject: fixing 1729 X-Git-Tag: initial-import-from-subversion-38251~17953 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4b6fa470627f293e05735a56ffefe24e0b3506de;p=oweals%2Fgnunet.git fixing 1729 --- diff --git a/src/transport/transport_api.c b/src/transport/transport_api.c index 15d4d1223..7b5798ce0 100644 --- a/src/transport/transport_api.c +++ b/src/transport/transport_api.c @@ -1086,7 +1086,8 @@ send_hello (void *cls, size_t size, void *buf) "Timeout while trying to transmit `%s' request.\n", "HELLO"); #endif - GNUNET_SCHEDULER_add_now(hc->cont, hc->cont_cls); + if (NULL != hc->cont) + GNUNET_SCHEDULER_add_now(hc->cont, hc->cont_cls); GNUNET_free (hc); return 0; }