aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2023-02-02 16:32:33 +0100
committerGreg Kroah-Hartman <[email protected]>2023-02-06 13:46:42 +0100
commit7a038a681b7df78362d9fc7013e5395a694a9d3a (patch)
tree49675ced0c77eb76eea51ad724a6b8998bfb1e37 /tools/perf/scripts/python/bin/stackcollapse-report
parente3965acaf3739fde9d74ad82979b46d37c6c208f (diff)
USB: gadget: pxa25x_udc: fix memory leak with using debugfs_lookup()
When calling debugfs_lookup() the result must have dput() called on it, otherwise the memory will leak over time. To make things simpler, just call debugfs_lookup_and_remove() instead which handles all of the logic at once. Cc: Daniel Mack <[email protected]> Cc: Haojian Zhuang <[email protected]> Cc: Robert Jarzmik <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions