Messages in this thread | | | Subject | Re: [PATCH] clk: npcm7xx: Fix incorrect kfree | From | Stephen Boyd <> | Date | Wed, 18 Oct 2023 18:06:16 -0700 |
| |
Quoting Jonathan Neuschäfer (2023-09-23 06:31:27) > The corresponding allocation is: > > > npcm7xx_clk_data = kzalloc(struct_size(npcm7xx_clk_data, hws, > > NPCM7XX_NUM_CLOCKS), GFP_KERNEL); > > ... so, kfree should be applied to npcm7xx_clk_data, not > npcm7xx_clk_data->hws. > > Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> > ---
Applied to clk-next
| |