summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2017-09-07 12:00:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-17 16:35:25 +0200
commit093d56156593bba5889756916b9eaf75bb35cca6 (patch)
tree23c98780316b13d1c60eadf45998ae3f5f48d60f /tools/perf/scripts/python/bin/stackcollapse-report
parent7f6f832d258a1b411dcc3ba9345ed3036fe05ca5 (diff)
downloadlinux-093d56156593bba5889756916b9eaf75bb35cca6.tar.gz
linux-093d56156593bba5889756916b9eaf75bb35cca6.zip
staging: ccree: simplify resource release on error
The resource release on probe/init error was being handled in an awkward manner and possibly leaking memory on certain (unlikely) error path. Fix it by simplifying the error resource release and making it easier to track. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions