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

This commit is contained in:
openharmony_ci
2024-06-05 10:09:35 +00:00
committed by Gitee
parent 7c3e42e03c
commit c4cbfa6479
-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;
}