Created attachment 3089[details]
Fix
There is potential memory leak in host name resolution function introduced in r1813 - where 'search' item was freed instead of 'res' -- 'search' item may point on last item in linked list so first items may leave allocated
Btw, not sure about unix systems, but calling freeaddrinfo(search) under windows xp also causes app crash
Created attachment 3089 [details] Fix There is potential memory leak in host name resolution function introduced in r1813 - where 'search' item was freed instead of 'res' -- 'search' item may point on last item in linked list so first items may leave allocated Btw, not sure about unix systems, but calling freeaddrinfo(search) under windows xp also causes app crash