From: Martin Schanzenbach Date: Thu, 15 Mar 2012 11:30:58 +0000 (+0000) Subject: -fix X-Git-Tag: initial-import-from-subversion-38251~14251 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2965a9e8029f945c663bcb5158b79e147cdbee42;p=oweals%2Fgnunet.git -fix --- diff --git a/src/gns/gns_api.c b/src/gns/gns_api.c index bd77f378e..1a268f952 100644 --- a/src/gns/gns_api.c +++ b/src/gns/gns_api.c @@ -505,7 +505,8 @@ process_message (void *cls, const struct GNUNET_MessageHeader *msg) } if (qe) process_lookup_reply(qe, lookup_msg); - + + return; } else if (type == GNUNET_MESSAGE_TYPE_GNS_SHORTEN_RESULT) @@ -532,6 +533,7 @@ process_message (void *cls, const struct GNUNET_MessageHeader *msg) } if (qe) process_shorten_reply(qe, shorten_msg); + return; } else if (type == GNUNET_MESSAGE_TYPE_GNS_GET_AUTH_RESULT) { @@ -557,6 +559,7 @@ process_message (void *cls, const struct GNUNET_MessageHeader *msg) } if (qe) process_get_auth_reply(qe, get_auth_msg); + return; } @@ -604,7 +607,7 @@ GNUNET_GNS_disconnect (struct GNUNET_GNS_Handle *h) GNUNET_SCHEDULER_cancel (h->reconnect_task); h->reconnect_task = GNUNET_SCHEDULER_NO_TASK; } - //GNUNET_free(h); + GNUNET_free(h); /* disco from GNS */ }