This repository has been archived by the owner on May 4, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix memory leak in uv_exepath() on OSX.
- Loading branch information
f6c8e78
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jedisct1: Frank, I reverted this commit in 637d976, it segfaulted on OS X 10.5 (all according to spec sigh). Looking at it again, ISTM that there's no memory leak here, the malloc'd buffer is freed in both code paths.