Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fs: close file if fstat() fails in readFile()
Currently, if fstat() fails in readFile(), the callback is invoked without closing the file. This commit closes the file before calling back. Closes nodejs#7697
- Loading branch information