Messages in this thread | | | Date | Fri, 2 Oct 2015 14:48:49 -0700 | Subject | Re: [PATCH] gpio: max730x: eliminate double free | From | Linus Walleij <> |
| |
On Sat, Sep 26, 2015 at 1:18 PM, Julia Lawall <Julia.Lawall@lip6.fr> wrote:
> The function __max730x_remove is called from the remove functions of > drivers/gpio/gpio-max7300.c and drivers/gpio/gpio-max7301.c. In both > cases, the probe function allocates ts using devm_kzalloc. Explicitly > freeing such a value with kfree will cause a double free. > > Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Patch applied with Alex' review-tag.
Yours, Linus Walleij
| |