[reSIProcate] memory leak in AresDns
Scott Godin
sgodin at sipspectrum.com
Sun Nov 21 09:56:24 CST 2010
Nice catch! This hostfile fallback logic was just added a few years back -
I assume people are not falling back to hostfile lookups very often. I'll
commit this fix.
Thanks,
Scott
On Fri, Nov 19, 2010 at 7:47 PM, Kennard White
<kennard_white at logitech.com>wrote:
> Hi,
>
> While running valgrind to check for memory leads with epoll changes, I
> found a memory leak in the AresDns class. The resip-ares class returns
> dynamically allocated hostent, which is unlike gethostbyname(). Patch is
> included.
>
> Anyone know the history for this? Seems like a long time for this type of
> memory leak to go undetected.
>
> Kennard
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at resiprocate.org
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20101121/5a8822c4/attachment.htm>
More information about the resiprocate-devel
mailing list