mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 02:11:19 -04:00
[Bug]: 告警处理,清理没有释放的内存 https://gitee.com/openharmony/developtools_syscap_codec/issues/ICRCLU
Signed-off-by: xuezhou_yan <yangang20@huawei.com>
This commit is contained in:
@@ -700,7 +700,6 @@ static int32_t CompareVersion(uint32_t *pcidOsArray, uint32_t *rpcidOsAarry)
|
||||
static void FreePointerMemoryEnd(char *pcidContent, char *rpcidContent,
|
||||
char *pcidPriSyscap, char *rpcidPriSyscap, uint32_t type)
|
||||
{
|
||||
printf("After the compare cmd is executed, relase the memory.\n");
|
||||
if (type == TYPE_FILE) {
|
||||
SafeFree(pcidContent);
|
||||
SafeFree(rpcidPriSyscap);
|
||||
|
||||
Reference in New Issue
Block a user