Re: [PATCH] graph: fix memory leak in node clone

2024-10-31 Thread Huichao cai
There is one more place in the node_clone function that needs to be modified: if (clone_name(reg->name, node->name, name)) //goto free; goto free_xstat;

Re: [PATCH] graph: fix memory leak in node clone

2024-10-31 Thread Huichao Cai
There is one more place in the node_clone function that needs to be modified: if (clone_name(reg->name, node->name, name)) //goto free; goto free_xstat; 从 Windows 版邮件发送

[PATCH] graph: fix memory leak in node clone

2024-10-30 Thread pbhagavatula
From: Pavan Nikhilesh Free memory allocated for the node when xstats memory allocation fails. Coverity issue: 445529 Fixes: 070db97e017b ("graph: support node xstats") Signed-off-by: Pavan Nikhilesh --- lib/graph/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/g