From: Christian Grothoff Date: Fri, 27 May 2011 13:31:26 +0000 (+0000) Subject: set to NULL X-Git-Tag: initial-import-from-subversion-38251~18396 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=718cbd936d286ddf953fb58647e8161e4b71448f;p=oweals%2Fgnunet.git set to NULL --- diff --git a/src/core/core_api.c b/src/core/core_api.c index 58f489da3..4f4337061 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c @@ -419,6 +419,8 @@ disconnect_and_free_peer_entry (void *cls, GNUNET_assert (0 == th->get_message (th->get_message_cls, 0, NULL)); + if (th->cm != NULL) + th->cm->th = NULL; GNUNET_free (th); } if (NULL != (pcic = pr->pcic))