do not leak addrinfo in configure test

This commit is contained in:
Benjamin Peterson 2016-09-06 15:54:24 -07:00
parent 1c03abd026
commit 01c340da23
2 changed files with 4 additions and 0 deletions

2
configure vendored
View file

@ -12581,6 +12581,8 @@ int main()
break;
}
}
freeaddrinfo(aitop);
aitop = NULL;
}
if (!(inet4 == 0 || inet4 == 2))

View file

@ -3700,6 +3700,8 @@ int main()
break;
}
}
freeaddrinfo(aitop);
aitop = NULL;
}
if (!(inet4 == 0 || inet4 == 2))