aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2019-01-20 22:33:34 +0000
committerKees Cook <[email protected]>2019-01-20 22:44:52 +0000
commit5631e8576a3caf606cdc375f97425a67983b420c (patch)
tree4c5723127cca25af506b0edc6c8d75482d3e846f /tools/perf/scripts/python/mem-phys-addr.py
parentpstore/ram: Fix console ramoops to show the previous boot logs (diff)
downloadkernel-5631e8576a3caf606cdc375f97425a67983b420c.tar.gz
kernel-5631e8576a3caf606cdc375f97425a67983b420c.zip
pstore/ram: Avoid allocation and leak of platform data
Yue Hu noticed that when parsing device tree the allocated platform data was never freed. Since it's not used beyond the function scope, this switches to using a stack variable instead. Reported-by: Yue Hu <[email protected]> Fixes: 35da60941e44 ("pstore/ram: add Device Tree bindings") Cc: [email protected] Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions