< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] memory leak in AresDns


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@xxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel