Skip to content

Commit fbdead7

Browse files
cjihrigBethGriggs
authored andcommitted
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>
1 parent 7a39196 commit fbdead7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/node_process_object.cc

+1
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ MaybeLocal<Object> CreateProcessObject(
193193
CHECK_NOT_NULL(req.ptr);
194194
exec_path = std::string(static_cast<char*>(req.ptr));
195195
}
196+
uv_fs_req_cleanup(&req);
196197
#endif
197198
process
198199
->Set(env->context(),

0 commit comments

Comments
 (0)