summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-06 22:54:24 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-09-06 22:54:24 (GMT)
commit01c340da23075b6f3dc1c5e61c31b1b7d38652ca (patch)
treeb5a8a7979d3d0b8d99dc511cec23eaeded7abb1b /configure.ac
parent1c03abd0262f658fc420d3bef6118e49044b9d8b (diff)
downloadcpython-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.ac2
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))