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 e7cef10e7d
commit 26db9301c0
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));