summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-06-17 17:14:11 +0300
committerGeert Uytterhoeven <geert+renesas@glider.be>2021-07-19 10:53:52 +0200
commit36aaa3a0d9bc13e302dc146a20f022fb6891b605 (patch)
tree18a6f11e181e4a910cc6a1a69b4e663a2dfce369 /tools/perf/scripts/python/export-to-postgresql.py
parent97c29755598f98c6c91f68f12bdd3f517e457890 (diff)
clk: renesas: rzg2l: Fix a double free on error
The "pll_clk" and "clock" pointers are allocated with devm_kzalloc() so freeing them with kfree() will lead to a double free. This would only happen if probe failed, and the system is not bootable. Fixes: ef3c613ccd68 ("clk: renesas: Add CPG core wrapper for RZ/G2L SoC") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Link: https://lore.kernel.org/r/YMtYs7LVveYH4eRe@mwanda Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions