提交 0a5d6c67 编写于 作者: M Mupceet

set defalt sn for qemu

Signed-off-by: NMupceet <laiguizhong@huawei.com>

set defalt sn for qemu
Signed-off-by: NMupceet <laiguizhong@huawei.com>

space 重复释放
Signed-off-by: NMupceet <laiguizhong@huawei.com>

space 重复释放
Signed-off-by: NMupceet <laiguizhong@huawei.com>
上级 529388f3
......@@ -3,10 +3,7 @@
"name" : "services:deviceinfoservice",
"cmds" : [
"chown shell system /data/init_agent/begetctrl.log",
"chown shell system /data/init_agent/device_infokits.log",
"chmod 0666 /data/init_agent/begetctrl.log",
"chmod 0666 /data/init_agent/param.log",
"chmod 0666 /data/init_agent/device_infokits.log"
]
}
],
......
......@@ -163,7 +163,10 @@ int InitParamWorkSpace(int onlyRead)
void CloseParamWorkSpace(void)
{
PARAM_LOGI("CloseParamWorkSpace");
PARAM_LOGI("CloseParamWorkSpace %p", &g_paramWorkSpace);
if (!PARAM_TEST_FLAG(g_paramWorkSpace.flags, WORKSPACE_FLAGS_INIT)) {
return;
}
WORKSPACE_RW_LOCK(g_paramWorkSpace);
if (g_paramWorkSpace.workSpaceHashHandle != NULL) {
HashMapDestory(g_paramWorkSpace.workSpaceHashHandle);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册