From: Benjamin Peterson Date: Tue, 6 Sep 2016 22:54:24 +0000 (-0700) Subject: do not leak addrinfo in configure test X-Git-Tag: v2.7.13rc1~167 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d34677c130cfd801a129dbac5791c9804f441acc;p=thirdparty%2FPython%2Fcpython.git do not leak addrinfo in configure test --- diff --git a/configure b/configure index 8975bfe994a5..1cc045b8380f 100755 --- a/configure +++ b/configure @@ -11728,6 +11728,8 @@ int main() break; } } + freeaddrinfo(aitop); + aitop = NULL; } if (!(inet4 == 0 || inet4 == 2)) diff --git a/configure.ac b/configure.ac index 26838d68c6fe..84542c79aa2e 100644 --- a/configure.ac +++ b/configure.ac @@ -3422,6 +3422,8 @@ int main() break; } } + freeaddrinfo(aitop); + aitop = NULL; } if (!(inet4 == 0 || inet4 == 2))