mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 02:11:19 -04:00
删除正常情况下的cJSON_Delete(capVectorPtr),修改用例报错
Signed-off-by: liutuantuan <liutuantuan1@huawei.com>
This commit is contained in:
@@ -344,7 +344,6 @@ int32_t GetOsSyscap(PCIDMain *pcidMain, cJSON *sysCapObject)
|
||||
return -1;
|
||||
}
|
||||
|
||||
cJSON_Delete(capVectorPtr);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user