joyent/libuv — pull request #324 by jedisct1 (2012-02-23 22:51:23+00:00)
Title: Fix memory leak in uv_exepath() on OSX.

The uv_exepath() function leaks memory on OSX. We don't need to pre-malloc() a buffer for the result of realpath(). Just pass NULL for the resolved path.