代码优化

Signed-off-by: @ran-zhao-yu <ranzhaoyu1@huawei.com>
This commit is contained in:
@ran-zhao-yu
2024-10-25 14:04:12 +08:00
parent 974f6c3ddf
commit b8a8305262
-1
View File
@@ -383,7 +383,6 @@ bool ConfigParser::ParseJsonArrayRef(cJSON *parent, const string &key, cJSON *no
}
}
cJSON_AddItemToObject(parent, (key + "Id").c_str(), array);
cJSON_Delete(array);
return true;
}