diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-05-27 13:31:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-05-27 13:31:26 +0000 |
commit | 718cbd936d286ddf953fb58647e8161e4b71448f (patch) | |
tree | 0a918b825741b803b3ea16987e179e3e86f3f475 /src/core/core_api.c | |
parent | f7a801c7347c9dae30658c1b7b0eda0a62e2fd47 (diff) | |
download | gnunet-718cbd936d286ddf953fb58647e8161e4b71448f.tar.gz gnunet-718cbd936d286ddf953fb58647e8161e4b71448f.zip |
set to NULL
Diffstat (limited to 'src/core/core_api.c')
-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)) |