diff options
| author | Benjamin Peterson <benjamin@python.org> | 2016-09-06 15:54:24 -0700 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2016-09-06 15:54:24 -0700 |
| commit | 01c340da23075b6f3dc1c5e61c31b1b7d38652ca (patch) | |
| tree | b5a8a7979d3d0b8d99dc511cec23eaeded7abb1b | |
| parent | 1c03abd0262f658fc420d3bef6118e49044b9d8b (diff) | |
| download | cpython-git-01c340da23075b6f3dc1c5e61c31b1b7d38652ca.tar.gz | |
do not leak addrinfo in configure test
| -rwxr-xr-x | configure | 2 | ||||
| -rw-r--r-- | configure.ac | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -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 2ccb4e2df6..fb2ae67b78 100644 --- a/configure.ac +++ b/configure.ac @@ -3700,6 +3700,8 @@ int main() break; } } + freeaddrinfo(aitop); + aitop = NULL; } if (!(inet4 == 0 || inet4 == 2)) |
