提交 3dac3735 编写于 作者: X xionglei6

init: add commit

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 798210a9
......@@ -680,6 +680,7 @@ void StartServiceByName(const char *servName, bool checkDynamic)
if (ServiceStart(service) != SERVICE_SUCCESS) {
INIT_LOGE("Service %s start failed!", servName);
}
// After starting, clear the extra parameters.
FreeStringVector(service->extraArgs.argv, service->extraArgs.count);
service->extraArgs.argv = NULL;
service->extraArgs.count = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册