]> andersk Git - openssh.git/blobdiff - defines.h
- (djm) Fix memory leak on systems with BROKEN_GETADDRINFO. Based on
[openssh.git] / defines.h
index 4c3941cad2c3541ced39e681192c9ec40943997b..45a187c195bfa4c2f0fc52689d4e2edec2feaa0b 100644 (file)
--- a/defines.h
+++ b/defines.h
@@ -348,7 +348,13 @@ struct winsize {
 
 #if defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO)
 # undef HAVE_GETADDRINFO
-#endif /* defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO) */
+#endif
+#if defined(BROKEN_GETADDRINFO) && defined(HAVE_FREEADDRINFO)
+# undef HAVE_FREEADDRINFO
+#endif
+#if defined(BROKEN_GETADDRINFO) && defined(HAVE_GAI_STRERROR)
+# undef HAVE_GAI_STRERROR
+#endif
 
 #if !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY)
 # define memmove(s1, s2, n) bcopy((s2), (s1), (n))
This page took 0.100858 seconds and 4 git commands to generate.