From: Benjamin Peterson Date: Tue, 6 Sep 2016 22:54:24 +0000 (-0700) Subject: do not leak addrinfo in configure test X-Git-Tag: v3.6.0b1~392^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01c340da23075b6f3dc1c5e61c31b1b7d38652ca;p=thirdparty%2FPython%2Fcpython.git do not leak addrinfo in configure test --- diff --git a/configure b/configure index f5ff3cea448b..462c968530e3 100755 --- a/configure +++ b/configure @@ -12581,6 +12581,8 @@ int main() break; } } + freeaddrinfo(aitop); + aitop = NULL; } if (!(inet4 == 0 || inet4 == 2)) diff --git a/configure.ac b/configure.ac index 2ccb4e2df691..fb2ae67b789e 100644 --- a/configure.ac +++ b/configure.ac @@ -3700,6 +3700,8 @@ int main() break; } } + freeaddrinfo(aitop); + aitop = NULL; } if (!(inet4 == 0 || inet4 == 2))