Date: Sat, 13 Mar 2010 21:24:47 -0800 From: Doug Barton <dougb@FreeBSD.org> To: freebsd-net@freebsd.org Subject: Re: [ping6] freeaddrinfo() Message-ID: <4B9C731F.4040604@FreeBSD.org> In-Reply-To: <604f76121003130425u62764f59wa88b398f15540b61@mail.gmail.com> References: <604f76121003130425u62764f59wa88b398f15540b61@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B9C731F.4040604>