diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-04-30 09:59:17 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-04-30 09:59:17 +0000 |
commit | 1ffbab2de23c37b8df3d8c22d6704979f156a9b0 (patch) | |
tree | 26973b1aa129e8a65fc14c0f6ea21c3035e833ea /src/peerinfo | |
parent | 8080b1223983045fc3374e67fc01be643a84a09f (diff) | |
download | gnunet-1ffbab2de23c37b8df3d8c22d6704979f156a9b0.tar.gz gnunet-1ffbab2de23c37b8df3d8c22d6704979f156a9b0.zip |
fix
Diffstat (limited to 'src/peerinfo')
-rw-r--r-- | src/peerinfo/peerinfo_api.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c index f857c4a77..e0806978b 100644 --- a/src/peerinfo/peerinfo_api.c +++ b/src/peerinfo/peerinfo_api.c | |||
@@ -173,6 +173,11 @@ GNUNET_PEERINFO_disconnect (struct GNUNET_PEERINFO_Handle *h) | |||
173 | tqe->cont (tqe->cont_cls, GNUNET_SYSERR); | 173 | tqe->cont (tqe->cont_cls, GNUNET_SYSERR); |
174 | GNUNET_free (tqe); | 174 | GNUNET_free (tqe); |
175 | } | 175 | } |
176 | if (h->th != NULL) | ||
177 | { | ||
178 | GNUNET_CLIENT_notify_transmit_ready_cancel (h->th); | ||
179 | h->th = NULL; | ||
180 | } | ||
176 | GNUNET_CLIENT_disconnect (h->client, GNUNET_NO); | 181 | GNUNET_CLIENT_disconnect (h->client, GNUNET_NO); |
177 | GNUNET_free (h); | 182 | GNUNET_free (h); |
178 | } | 183 | } |