Modify the endogenous issue

Signed-off-by: xdmal <maxiaodong16@huawei.com>
This commit is contained in:
xdmal
2022-03-18 17:08:39 +08:00
parent 11547847f0
commit 3e04de4ced
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -97,6 +97,7 @@ namespace OHOS::Js_sys_module::Process {
auto objectInfo = (ChildProcess*)data;
if (objectInfo != nullptr) {
delete objectInfo;
objectInfo = nullptr;
}
},
nullptr, nullptr));