From 17be7fdc166161d45d1d7f8618595da2ff2c8a0e Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 15 2020 07:39:05 +0000 Subject: Apply patch glibc-rh1810146.patch patch_name: glibc-rh1810146.patch present_in_specfile: true location_in_specfile: 305 --- diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c index 6a5805c..fae3dea 100644 --- a/sysdeps/posix/getaddrinfo.c +++ b/sysdeps/posix/getaddrinfo.c @@ -292,6 +292,7 @@ convert_hostent_to_gaih_addrtuple (const struct addrinfo *req, canonbuf = __strdup (localcanon); \ if (canonbuf == NULL) \ { \ + __resolv_context_put (res_ctx); \ result = -EAI_SYSTEM; \ goto free_and_return; \ } \