Skip to content

Commit

Permalink
src: add missing uv_fs_req_cleanup()
Browse files Browse the repository at this point in the history
This cleans up after the uv_fs_realpath() call a few lines up.

PR-URL: #27004
Reviewed-By: Santiago Gimeno <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Signed-off-by: Beth Griggs <[email protected]>
  • Loading branch information
cjihrig authored and BethGriggs committed Apr 9, 2019
1 parent 7a39196 commit fbdead7
Showing 1 changed file with 1 addition and 0 deletions.
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

0 comments on commit fbdead7

Please sign in to comment.