do not leak addrinfo in configure test

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

2
configure vendored
View File

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

View File

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