Blame SOURCES/iputils-freeaddrinfo.patch

da6692
--- a/ping.c	2018-06-29 20:00:46.000000000 +0200
da6692
+++ b/ping.c	2019-07-10 09:50:06.653039073 +0200
da6692
@@ -589,8 +589,10 @@ int ping4_run(int argc, char **argv, str
da6692
 				strncpy(hnamebuf, ai->ai_canonname, sizeof hnamebuf - 1);
da6692
 			hostname = hnamebuf;
da6692
 
da6692
-			if (result)
da6692
+			if (result) {
da6692
 				freeaddrinfo(result);
da6692
+				ai = NULL;
da6692
+			}
da6692
 		}
da6692
 		if (argc > 1)
da6692
 			route[nroute++] = whereto.sin_addr.s_addr;