mirror of
https://github.com/python/cpython
synced 2024-09-16 00:27:20 +00:00
do not leak addrinfo in configure test
This commit is contained in:
parent
1c03abd026
commit
01c340da23
2
configure
vendored
2
configure
vendored
|
@ -12581,6 +12581,8 @@ int main()
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
freeaddrinfo(aitop);
|
||||||
|
aitop = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(inet4 == 0 || inet4 == 2))
|
if (!(inet4 == 0 || inet4 == 2))
|
||||||
|
|
|
@ -3700,6 +3700,8 @@ int main()
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
freeaddrinfo(aitop);
|
||||||
|
aitop = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(inet4 == 0 || inet4 == 2))
|
if (!(inet4 == 0 || inet4 == 2))
|
||||||
|
|
Loading…
Reference in a new issue