mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 02:11:19 -04:00
去掉 interfaces/inner_api/syscap_interface.c文件614行free语句
Signed-off-by: tongkai0808fh <tongkai5@huawei.com>
This commit is contained in:
@@ -611,7 +611,6 @@ static int32_t ComparePcidWithPriSyscap(struct PcidPriSyscapInfo pcidPriSyscapIn
|
||||
if (temp == NULL) {
|
||||
PRINT_ERR("malloc failed.\n");
|
||||
FreeCompareError(result);
|
||||
free(temp);
|
||||
return -1;
|
||||
}
|
||||
pcidPriSyscapInfo.ret = strcpy_s(temp, sizeof(char) * SINGLE_SYSCAP_LEN,
|
||||
|
||||
Reference in New Issue
Block a user