!453 回退 'Pull Request !449 : 消除napi_query_syscap.cpp文件安全告警'

Merge pull request !453 from openharmony_ci/revert-merge-449-master
This commit is contained in:
openharmony_ci
2024-06-06 03:08:52 +00:00
committed by Gitee
-1
View File
@@ -223,7 +223,6 @@ napi_value QuerySystemCapability(napi_env env, napi_callback_info info)
},
(void*)asyncContext, &asyncContext->work);
napi_queue_async_work(env, asyncContext->work);
delete asyncContext;
return result;
}