Re: [PATCH] workqueue: fix memory leak in wq_numa_init()

2018-08-20 Thread Tejun Heo
On Mon, Aug 20, 2018 at 12:05:50PM +0800, wang.y...@zte.com.cn wrote: > Gentle ping :) > > > The 'tbl' variable may leak when return in function > > wq_numa_init(), and this patch fixes this. > > > > Signed-off-by: Yi Wang > > Reviewed-by: Jiang Biao It's a kernel bug path where we might as wel

[PATCH] workqueue: fix memory leak in wq_numa_init()

2018-08-05 Thread Yi Wang
The 'tbl' variable may leak when return in function wq_numa_init(), and this patch fixes this. Signed-off-by: Yi Wang Reviewed-by: Jiang Biao --- kernel/workqueue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 78b1920..9321a05 100644 --- a/ke