On Thu, Jan 22, 2015 at 12:53 PM, Frank <[email protected]> wrote:
> It seems that the windows version of uv-freeaddrinfo() does not
> deallocate the list of addrinfo structures properly which results in a
> memory leak.

On windows, only a single buffer is allocated, and those pointers all
point within that buffer. Search for malloc in src/win/getaddrinfo.c

The underlying windows request uses GetAddrInfoW, and FreeAddrInfoW,
those are the equivalents of the unix code you pasted.

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to