Re: [dpdk-dev] [PATCH 1/2] graph: fix memory leak

2021-05-06 Thread Min Hu (Connor)
在 2021/5/4 22:15, David Marchand 写道: On Thu, Apr 22, 2021 at 1:52 PM Min Hu (Connor) wrote: From: HongBo Zheng Fix function 'stats_mem_populate' return without free dynamic memory referenced by 'stats'. Fixes: af1ae8b6a32c ("graph: implement stats") Cc: sta...@dpdk.org Signed-off-by: Ho

Re: [dpdk-dev] [PATCH 1/2] graph: fix memory leak

2021-05-04 Thread David Marchand
On Thu, Apr 22, 2021 at 1:52 PM Min Hu (Connor) wrote: > > From: HongBo Zheng > > Fix function 'stats_mem_populate' return without > free dynamic memory referenced by 'stats'. > > Fixes: af1ae8b6a32c ("graph: implement stats") > Cc: sta...@dpdk.org > > Signed-off-by: HongBo Zheng > Signed-off-by

[dpdk-dev] [PATCH 1/2] graph: fix memory leak

2021-04-22 Thread Min Hu (Connor)
From: HongBo Zheng Fix function 'stats_mem_populate' return without free dynamic memory referenced by 'stats'. Fixes: af1ae8b6a32c ("graph: implement stats") Cc: sta...@dpdk.org Signed-off-by: HongBo Zheng Signed-off-by: Min Hu (Connor) --- lib/librte_graph/graph_stats.c | 4 +++- 1 file cha