diff --git a/src/node_process_object.cc b/src/node_process_object.cc index 0b97a5b21330cf..93193a18fcdbee 100644 --- a/src/node_process_object.cc +++ b/src/node_process_object.cc @@ -193,6 +193,7 @@ MaybeLocal CreateProcessObject( CHECK_NOT_NULL(req.ptr); exec_path = std::string(static_cast(req.ptr)); } + uv_fs_req_cleanup(&req); #endif process ->Set(env->context(),