From 363911ce1313a246b7d33f0983a09e7ab2525b3a Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sat, 3 Jun 2017 08:37:13 +0200 Subject: getaddrinfo: Eliminate another strdup call --- sysdeps/posix/getaddrinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/posix') diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c index a8b5bb541e..a8bdd9a182 100644 --- a/sysdeps/posix/getaddrinfo.c +++ b/sysdeps/posix/getaddrinfo.c @@ -732,7 +732,7 @@ gaih_inet (const char *name, const struct gaih_service *service, (*pat)->name = NULL; else if (canonbuf == NULL) { - canonbuf = strdup (air->canon); + canonbuf = __strdup (air->canon); if (canonbuf == NULL) { result = -EAI_MEMORY; -- cgit 1.4.1