diff options
author | 2013-01-07 02:05:19 +0100 | |
---|---|---|
committer | 2013-01-15 16:16:26 -0800 | |
commit | f1ba28a1f0fa16f3d0e78d199f3f9bf13e2d487b (patch) | |
tree | 1bf3d3566e11abf429bd1675dd0eee353db2a594 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | clk: remove exported function from __init section (diff) | |
download | linux-dev-f1ba28a1f0fa16f3d0e78d199f3f9bf13e2d487b.tar.xz linux-dev-f1ba28a1f0fa16f3d0e78d199f3f9bf13e2d487b.zip |
clk: max77686: Avoid double free at remove time
The clk_lookup entry is dropped at remove time by a call to
clkdev_drop(). That function frees the entry, which is also freed by the
driver core as it has been allocated through devm_kzalloc(). This
results in a double free.
Use kzalloc() instead of devm_kzalloc() to fix this.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions