Displaying 1 result from an estimated 1 matches for "broken_freeaddrinfo".
2000 Dec 29
0
another possible mem leak, AIX-specific
...I don't think
'freeaddrinfo()' is releasing the linked list
properly, because I think I'm seeing a memory leak
roughly a multiple of the struct size per new channel.
If I undefine HAVE_FREEADDRINFO in config.h, the
memory leak seems to go away.
I would solve this by having a 'BROKEN_FREEADDRINFO'
flag defined for AIX, and use the same logic as when
'BROKEN_GETADDRINFO' is defined. That way, the
'freeaddrinfo()' routine from fake-getaddrinfo.c is
used, as opposed to the one from AIX.
- chrisv
=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Chris V...