[ping6] freeaddrinfo()
Earl Lapus
earl.lapus at gmail.com
Sat Mar 13 12:52:08 UTC 2010
Hi,
I was browsing through the ping6 code and I noticed that one
particular call to getaddrinfo() didn't have a freeaddrinfo() pair.
All calls to getaddrinfo() should have an equivalent freeaddrinfo(), right?
Attached is a patch that "tries-to-resolve" this very small issue
(applies cleanly on an 8.0p2 kernel source).
Also, I'm not not 100% sure if that is the correct place to call
freeaddrinfo() - I hope someone on the list would be kind enough to
have look.
Cheers!
--
There are seven words in this sentence.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ping6.diff
Type: text/x-patch
Size: 428 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20100313/1da311de/ping6.bin
More information about the freebsd-net
mailing list