diff options
| author | Gilad Ben-Yossef <gilad@benyossef.com> | 2017-09-07 12:00:12 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-17 16:35:25 +0200 |
| commit | 093d56156593bba5889756916b9eaf75bb35cca6 (patch) | |
| tree | 23c98780316b13d1c60eadf45998ae3f5f48d60f /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 7f6f832d258a1b411dcc3ba9345ed3036fe05ca5 (diff) | |
| download | linux-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-record')
0 files changed, 0 insertions, 0 deletions
