From 2965a9e8029f945c663bcb5158b79e147cdbee42 Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Thu, 15 Mar 2012 11:30:58 +0000 Subject: -fix --- src/gns/gns_api.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') 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 */ } -- cgit v1.2.3