Skip to content
Permalink
Browse files

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>
Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
  • Loading branch information...
cjihrig authored and BethGriggs committed Mar 30, 2019
1 parent 7a39196 commit fbdead7f35916837cb9ac2444e61640a1559a5db
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/node_process_object.cc
@@ -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(),

0 comments on commit fbdead7

Please sign in to comment.
You can’t perform that action at this time.