Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
src: add missing uv_fs_req_cleanup()
This cleans up after the uv_fs_realpath() call a few lines up.

PR-URL: #27004
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
  • Loading branch information
cjihrig committed Apr 1, 2019
commit 0916749c079267aee2fa91989cea0e58857b0939
1 change: 1 addition & 0 deletions src/node_process_object.cc
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ MaybeLocal<Object> CreateProcessObject(
CHECK_NOT_NULL(req.ptr);
exec_path = std::string(static_cast<char*>(req.ptr));
}
uv_fs_req_cleanup(&req);
#endif
process
->Set(env->context(),
Expand Down