[reSIProcate] memory leak in AresDns

Kennard White kennard_white at logitech.com
Fri Nov 19 18:47:56 CST 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20101119/0cb788e4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resip-aresdns-free.patch
Type: application/octet-stream
Size: 799 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20101119/0cb788e4/attachment.obj>


More information about the resiprocate-devel mailing list