From 6d54050c298224965cb68172afcf50870924814b Mon Sep 17 00:00:00 2001 From: Packit Service Date: Feb 12 2021 08:43:46 +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; \ } \