From: Christian Grothoff Date: Sun, 13 Jun 2010 15:15:25 +0000 (+0000) Subject: leak X-Git-Tag: initial-import-from-subversion-38251~21401 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ca4271eb26dba2b8618bcfb39f6106567755b64f;p=oweals%2Fgnunet.git leak --- diff --git a/src/util/service.c b/src/util/service.c index 6159d2edf..a4316768d 100644 --- a/src/util/service.c +++ b/src/util/service.c @@ -925,6 +925,7 @@ GNUNET_SERVICE_get_server_addresses (const char *serviceName, _("Failed to resolve `%s': %s\n"), hostname, gai_strerror (ret)); GNUNET_free (hostname); + GNUNET_free (unixpath); if (desc != NULL) GNUNET_break (GNUNET_OK == GNUNET_NETWORK_socket_close (desc)); return GNUNET_SYSERR; @@ -945,6 +946,7 @@ GNUNET_SERVICE_get_server_addresses (const char *serviceName, disablev6 ? "IPv4 " : "", hostname); freeaddrinfo (res); GNUNET_free (hostname); + GNUNET_free (unixpath); return GNUNET_SYSERR; } resi = i;