From: Christian Grothoff Date: Thu, 4 Jan 2018 20:46:34 +0000 (+0100) Subject: fix memory leak X-Git-Tag: gnunet-0.11.0rc0~16^2~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9de5746bd8ba4054c5cba623b7ef1e53739aff87;p=oweals%2Fgnunet.git fix memory leak --- diff --git a/src/gns/gnunet-service-gns_resolver.c b/src/gns/gnunet-service-gns_resolver.c index c58190599..ba71e21fa 100644 --- a/src/gns/gnunet-service-gns_resolver.c +++ b/src/gns/gnunet-service-gns_resolver.c @@ -658,6 +658,8 @@ resolver_lookup_get_next_label (struct GNS_ResolverHandle *rh) } rh->protocol = pe->p_proto; rh->service = se->s_port; + GNUNET_free (proto_name); + GNUNET_free (srv_name); } return ret; }