Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src: fix memory leak in fs.writeSync error path
The SYNC_CALL macro returns on error, bypassing the delete[] call. Mea culpa, it looks like I introduced this memory leak back in 2013, in commit d2b80b8 ("src: clean up FSReqWrap"). PR-URL: #1092 Reviewed-By: Fedor Indutny <[email protected]>
- Loading branch information