mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
do not leak addrinfo in configure test
This commit is contained in:
parent
1c03abd026
commit
01c340da23
2 changed files with 4 additions and 0 deletions
2
configure
vendored
2
configure
vendored
|
@ -12581,6 +12581,8 @@ int main()
|
|||
break;
|
||||
}
|
||||
}
|
||||
freeaddrinfo(aitop);
|
||||
aitop = NULL;
|
||||
}
|
||||
|
||||
if (!(inet4 == 0 || inet4 == 2))
|
||||
|
|
|
@ -3700,6 +3700,8 @@ int main()
|
|||
break;
|
||||
}
|
||||
}
|
||||
freeaddrinfo(aitop);
|
||||
aitop = NULL;
|
||||
}
|
||||
|
||||
if (!(inet4 == 0 || inet4 == 2))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue