summaryrefslogtreecommitdiffstats
path: root/configure
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
parent1c03abd0262f658fc420d3bef6118e49044b9d8b (diff)
downloadcpython-01c340da23075b6f3dc1c5e61c31b1b7d38652ca.zip
cpython-01c340da23075b6f3dc1c5e61c31b1b7d38652ca.tar.gz
cpython-01c340da23075b6f3dc1c5e61c31b1b7d38652ca.tar.bz2
do not leak addrinfo in configure test
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index f5ff3ce..462c968 100755
--- a/configure
+++ b/configure
@@ -12581,6 +12581,8 @@ int main()
break;
}
}
+ freeaddrinfo(aitop);
+ aitop = NULL;
}
if (!(inet4 == 0 || inet4 == 2))