diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-09-06 22:54:24 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-09-06 22:54:24 (GMT) |
commit | 01c340da23075b6f3dc1c5e61c31b1b7d38652ca (patch) | |
tree | b5a8a7979d3d0b8d99dc511cec23eaeded7abb1b /configure.ac | |
parent | 1c03abd0262f658fc420d3bef6118e49044b9d8b (diff) | |
download | cpython-01c340da23075b6f3dc1c5e61c31b1b7d38652ca.zip cpython-01c340da23075b6f3dc1c5e61c31b1b7d38652ca.tar.gz cpython-01c340da23075b6f3dc1c5e61c31b1b7d38652ca.tar.bz2 |
do not leak addrinfo in configure test
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 2ccb4e2..fb2ae67 100644 --- a/configure.ac +++ b/configure.ac @@ -3700,6 +3700,8 @@ int main() break; } } + freeaddrinfo(aitop); + aitop = NULL; } if (!(inet4 == 0 || inet4 == 2)) |