mirror of https://github.com/python/cpython
do not leak addrinfo in configure test
This commit is contained in:
parent
1c03abd026
commit
01c340da23
|
@ -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…
Reference in New Issue