b501266c2b
- Refresh all patches - Also, pass getconf LFS_CFLAGS into CFLAGS OBS-URL: https://build.opensuse.org/request/show/114926 OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpd?expand=0&rev=10
28 lines
690 B
Diff
28 lines
690 B
Diff
--- socket.c.orig
|
|
+++ socket.c
|
|
@@ -270,7 +270,6 @@ sock_hostname(struct host_info *host)
|
|
res = res->ai_next;
|
|
}
|
|
|
|
- freeaddrinfo (resbase);
|
|
|
|
if (res == NULL)
|
|
{
|
|
@@ -279,6 +278,7 @@ sock_hostname(struct host_info *host)
|
|
host->name,
|
|
inet_ntop2 (sin6->sin6_family, &sin6->sin6_addr));
|
|
strncpy(host->name, paranoid, sizeof(host->name));
|
|
+ freeaddrinfo (resbase);
|
|
return;
|
|
}
|
|
|
|
@@ -289,7 +289,7 @@ sock_hostname(struct host_info *host)
|
|
host->name, res->ai_canonname,
|
|
inet_ntop2 (sin6->sin6_family, &sin6->sin6_addr));
|
|
}
|
|
-
|
|
+ freeaddrinfo (resbase);
|
|
return;
|
|
}
|
|
#else /* INET6 */
|