From 9de5746bd8ba4054c5cba623b7ef1e53739aff87 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 4 Jan 2018 21:46:34 +0100 Subject: [PATCH] fix memory leak --- src/gns/gnunet-service-gns_resolver.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.25.1