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