aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-04-30 09:59:17 +0000
committerChristian Grothoff <christian@grothoff.org>2010-04-30 09:59:17 +0000
commit1ffbab2de23c37b8df3d8c22d6704979f156a9b0 (patch)
tree26973b1aa129e8a65fc14c0f6ea21c3035e833ea /src/peerinfo
parent8080b1223983045fc3374e67fc01be643a84a09f (diff)
downloadgnunet-1ffbab2de23c37b8df3d8c22d6704979f156a9b0.tar.gz
gnunet-1ffbab2de23c37b8df3d8c22d6704979f156a9b0.zip
fix
Diffstat (limited to 'src/peerinfo')
-rw-r--r--src/peerinfo/peerinfo_api.c5
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}