aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorTobin C. Harding <[email protected]>2019-04-30 11:09:23 +1000
committerMichael Ellerman <[email protected]>2019-05-01 10:52:29 +1000
commit7e8039795a80bdf1418964b9cabef6168bc5d9a4 (patch)
tree1e54f42b104d20cec0ba82a60dc7823009c808c4 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent33dda8c32714c1a8f318450af4d1f9f123e2ed24 (diff)
powerpc/cacheinfo: Fix kobject memleak
Currently error return from kobject_init_and_add() is not followed by a call to kobject_put(). This means there is a memory leak. Add call to kobject_put() in error path of kobject_init_and_add(). Signed-off-by: Tobin C. Harding <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Tyrel Datwyler <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions