[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20180820160036.GL3978217@devbig004.ftw2.facebook.com>
Date: Mon, 20 Aug 2018 09:00:36 -0700
From: Tejun Heo <tj@...nel.org>
To: wang.yi59@....com.cn
Cc: jiangshanlai@...il.com, linux-kernel@...r.kernel.org,
jiang.biao2@....com.cn, zhong.weidong@....com.cn
Subject: Re: [PATCH] workqueue: fix memory leak in wq_numa_init()
On Mon, Aug 20, 2018 at 12:05:50PM +0800, wang.yi59@....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 <wang.yi59@....com.cn>
> > Reviewed-by: Jiang Biao <jiang.biao2@....com.cn>
It's a kernel bug path where we might as well crash. Whether the tbl
gets leaked or not doesn't matter.
Thanks.
--
tejun
Powered by blists - more mailing lists