diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/core_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, | |||
419 | GNUNET_assert (0 == | 419 | GNUNET_assert (0 == |
420 | th->get_message (th->get_message_cls, | 420 | th->get_message (th->get_message_cls, |
421 | 0, NULL)); | 421 | 0, NULL)); |
422 | if (th->cm != NULL) | ||
423 | th->cm->th = NULL; | ||
422 | GNUNET_free (th); | 424 | GNUNET_free (th); |
423 | } | 425 | } |
424 | if (NULL != (pcic = pr->pcic)) | 426 | if (NULL != (pcic = pr->pcic)) |