update src/syscap_tool.c.

Signed-off-by: tongkai0808fh <tongkai5@huawei.com>
This commit is contained in:
tongkai0808fh
2024-05-18 03:26:45 +00:00
committed by Gitee
parent 5d1f516a92
commit e69600cf33
-1
View File
@@ -487,7 +487,6 @@ int32_t EncodeRpcidscToString(char *inputFile, char *outDirPath)
if (sysCapArraySize < 0) {
PRINT_ERR("Get syscap size failed. Input file: %s\n", inputFile);
sysCapArray = NULL;
sysCapArraySize = NULL;
return FreeAfterEncodeRpcidsc(freeAfterEncodeRpcidscInfo, FREE_WHOLE_SYSCAP_AFTER_RPCIDSC, ret);
}
// malloc for save os syscap index