do not leak addrinfo in configure test
diff --git a/configure b/configure
index 8975bfe..1cc045b 100755
--- a/configure
+++ b/configure
@@ -11728,6 +11728,8 @@
         break;
       }
     }
+    freeaddrinfo(aitop);
+    aitop = NULL;
   }
 
   if (!(inet4 == 0 || inet4 == 2))