Messages in this thread | | | Date | Mon, 20 Aug 2018 09:00:36 -0700 | From | Tejun Heo <> | Subject | Re: [PATCH] workqueue: fix memory leak in wq_numa_init() |
| |
On Mon, Aug 20, 2018 at 12:05:50PM +0800, wang.yi59@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 <wang.yi59@zte.com.cn> > > Reviewed-by: Jiang Biao <jiang.biao2@zte.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
| |