aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2015-09-26 22:18:20 +0200
committerLinus Walleij <[email protected]>2015-10-02 15:06:41 -0700
commit7474f23dd05713dacc5f22d309913c96bce1c92b (patch)
tree9e01bf208ad01c752bfaa622ce107a6ca1491985 /tools/perf/scripts/python
parent450fa54cfd66e3dda6eda26256637ee8928af12a (diff)
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 <[email protected]> Reviewed-by: Alexandre Courbot <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions