joyent/node — Issue #2341: winapi_strerror function leaks memory
Author: igorzi
Created: 2011-12-16 01:33:55+00:00
State: open
Labels: windows

winapi_strerror function (in node.cc) returns a buffer allocated in FormatMessage. The buffer needs to be freed using LocalFree . None of the winapi_strerror callers currently free the buffer.