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

2024-11-06 Thread David Marchand
On Tue, Nov 5, 2024 at 2:28 PM David Marchand wrote: > On Fri, Nov 1, 2024 at 8:54 AM wrote: > > > > From: Pavan Nikhilesh > > > > Free memory allocated for the node when xstats memory > > allocation fails. > > > > Coverity issue: 445529 > > Fixes: 070db97e017b ("graph: support node xstats") > >

RE: [PATCH v2] graph: fix memory leak in node clone

2024-11-05 Thread Kiran Kumar Kokkilagadda
ject: [PATCH v2] graph: fix memory leak in node clone > > 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: Pav

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

2024-11-05 Thread David Marchand
On Fri, Nov 1, 2024 at 8:54 AM wrote: > > 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 Reviewed-by: David Marchand Huichao,

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

2024-11-01 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 --- v2 Changes: - Fix one more leak. (Huichao cai) lib/graph/node.c | 4 ++-- 1 file changed,