Commit 01c340da authored by Benjamin Peterson's avatar Benjamin Peterson

do not leak addrinfo in configure test

parent 1c03abd0
...@@ -12581,6 +12581,8 @@ int main() ...@@ -12581,6 +12581,8 @@ int main()
break; break;
} }
} }
freeaddrinfo(aitop);
aitop = NULL;
} }
if (!(inet4 == 0 || inet4 == 2)) if (!(inet4 == 0 || inet4 == 2))
......
...@@ -3700,6 +3700,8 @@ int main() ...@@ -3700,6 +3700,8 @@ int main()
break; break;
} }
} }
freeaddrinfo(aitop);
aitop = NULL;
} }
if (!(inet4 == 0 || inet4 == 2)) if (!(inet4 == 0 || inet4 == 2))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment