From 945a6124b6aa3047e3d144da4fb47cbbf5da70ee Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 24 Nov 2004 08:05:15 +0000 Subject: Updated to fedora-glibc-20041124T0741 --- sysdeps/posix/getaddrinfo.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdeps/posix') diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c index eb45709be1..c9081345ab 100644 --- a/sysdeps/posix/getaddrinfo.c +++ b/sysdeps/posix/getaddrinfo.c @@ -767,6 +767,8 @@ gaih_inet (const char *name, const struct gaih_service *service, addrs += size; } + free (air); + if (at->family == AF_UNSPEC) return (GAIH_OKIFUNSPEC | -EAI_NONAME); -- cgit 1.4.1