diff options
| author | Gilad Ben-Yossef <[email protected]> | 2017-09-07 12:00:12 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-09-17 16:35:25 +0200 |
| commit | 093d56156593bba5889756916b9eaf75bb35cca6 (patch) | |
| tree | 23c98780316b13d1c60eadf45998ae3f5f48d60f /tools/perf/scripts/python | |
| parent | 7f6f832d258a1b411dcc3ba9345ed3036fe05ca5 (diff) | |
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 <[email protected]>
Signed-off-by: Gilad Ben-Yossef <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions