summaryrefslogtreecommitdiff
path: root/src/node_http_parser.cc
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2014-05-28 18:34:04 -0400
committerBert Belder <bertbelder@gmail.com>2014-05-28 18:57:55 -0700
commitc7b02034ef80313564c50c59c63a5b640c24e234 (patch)
tree4b92cef07851467e97c250cd0d5e9afcc0d9822c /src/node_http_parser.cc
parent57c56558858f8348f938194c7fe563574cc46fd6 (diff)
downloadnode-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