mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
do not leak addrinfo in configure test
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -11728,6 +11728,8 @@ int main()
|
||||
break;
|
||||
}
|
||||
}
|
||||
freeaddrinfo(aitop);
|
||||
aitop = NULL;
|
||||
}
|
||||
|
||||
if (!(inet4 == 0 || inet4 == 2))
|
||||
|
||||
@@ -3422,6 +3422,8 @@ int main()
|
||||
break;
|
||||
}
|
||||
}
|
||||
freeaddrinfo(aitop);
|
||||
aitop = NULL;
|
||||
}
|
||||
|
||||
if (!(inet4 == 0 || inet4 == 2))
|
||||
|
||||
Reference in New Issue
Block a user