[ping6] freeaddrinfo()
Doug Barton
dougb at FreeBSD.org
Sun Mar 14 05:24:49 UTC 2010
On 03/13/10 04:25, Earl Lapus wrote:
> 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.
For all such issues, please file a PR first so it doesn't get lost. When
you get the PR confirmation back, feel free to alert the list to its
existence.
hth,
Doug
--
... and that's just a little bit of history repeating.
-- Propellerheads
Improve the effectiveness of your Internet presence with
a domain name makeover! http://SupersetSolutions.com/
More information about the freebsd-net
mailing list