From: Christian Grothoff Date: Mon, 13 Feb 2012 14:55:36 +0000 (+0000) Subject: -fix leak X-Git-Tag: initial-import-from-subversion-38251~14876 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d5ee578a6f6e3c234b52296ce6ba3792a04497ef;p=oweals%2Fgnunet.git -fix leak --- diff --git a/src/dns/gnunet-service-dns.c b/src/dns/gnunet-service-dns.c index d95d88a93..371713eec 100644 --- a/src/dns/gnunet-service-dns.c +++ b/src/dns/gnunet-service-dns.c @@ -462,6 +462,7 @@ open_socket (int af) break; default: GNUNET_break (0); + GNUNET_NETWORK_socket_close (ret); return NULL; } sa->sa_family = af;