diff options
author | cjihrig <cjihrig@gmail.com> | 2014-05-28 18:34:04 -0400 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2014-05-28 18:57:55 -0700 |
commit | c7b02034ef80313564c50c59c63a5b640c24e234 (patch) | |
tree | 4b92cef07851467e97c250cd0d5e9afcc0d9822c /src/node_http_parser.cc | |
parent | 57c56558858f8348f938194c7fe563574cc46fd6 (diff) | |
download | node-new-c7b02034ef80313564c50c59c63a5b640c24e234.tar.gz |
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 #7697
Diffstat (limited to 'src/node_http_parser.cc')
0 files changed, 0 insertions, 0 deletions