diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-09-26 22:18:20 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-10-03 00:06:41 +0200 |
commit | 7474f23dd05713dacc5f22d309913c96bce1c92b (patch) | |
tree | 9e01bf208ad01c752bfaa622ce107a6ca1491985 /virt | |
parent | gpio: omap: convert to use generic irq handler (diff) | |
download | linux-7474f23dd05713dacc5f22d309913c96bce1c92b.tar.xz linux-7474f23dd05713dacc5f22d309913c96bce1c92b.zip |
gpio: max730x: eliminate double free
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>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions