diff options
| author | Bartosz Golaszewski <[email protected]> | 2023-11-27 15:15:48 +0100 |
|---|---|---|
| committer | Bjorn Andersson <[email protected]> | 2023-12-18 21:14:58 -0600 |
| commit | 6c57d7b593c4a4e60db65d5ce0fe1d9f79ccbe9b (patch) | |
| tree | db5e2f7a6feb75b993f011670de735e5556b87b7 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | ff5fed86be58a8351938bb4c828f77329cde4cbd (diff) | |
firmware: qcom: qseecom: fix memory leaks in error paths
Fix instances of returning error codes directly instead of jumping to
the relevant labels where memory allocated for the SCM calls would be
freed.
Fixes: 759e7a2b62eb ("firmware: Add support for Qualcomm UEFI Secure Application")
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Signed-off-by: Bartosz Golaszewski <[email protected]>
Reviewed-by: Maximilian Luz <[email protected]>
Tested-by: Deepti Jaggi <[email protected]> #sa8775p-ride
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions