summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-10-01 12:46:07 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2015-10-05 13:11:25 +0300
commitdc85aaed64804205c476d06cebe4c94f66fd8a20 (patch)
treef10c338a4e927857280b22fcc1138ef5aac54cf5 /tools/perf/scripts/python/sctop.py
parent948ad1acaf456b7213731cd9eb58654930335070 (diff)
downloadlinux-dc85aaed64804205c476d06cebe4c94f66fd8a20.tar.xz
powerpc/pseries: fix a potential memory leak
In case we have a full node name like /foo/bar and /foo is not found the parent_path left unfreed. So, free a memory before return to a caller. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions