update src/create_pcid.c.

Signed-off-by: Luming <luming29@huawei.com>
This commit is contained in:
Luming
2024-08-20 01:51:54 +00:00
committed by Gitee
parent 302eac6d7e
commit dd045e357e
+1 -3
View File
@@ -759,9 +759,7 @@ int32_t DecodeStringPCIDToJson(char *input, char *outDirPath)
ret = 0;
FAILED:
if (jsonBuffer != NULL) {
cJSON_free(jsonBuffer);
}
cJSON_free(jsonBuffer);
SafeFree(priSyscapStr);
cJSON_Delete(sysCapObj);
cJSON_Delete(rootObj);