mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 02:11:19 -04:00
+1
-3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user