diff options
author | Johan Hovold <[email protected]> | 2024-05-01 08:37:40 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <[email protected]> | 2024-05-03 13:05:55 -0400 |
commit | 40d442f969fb1e871da6fca73d3f8aef1f888558 (patch) | |
tree | 27e882690137242b1fa14724924bbc55c8e6c274 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
parent | adf0398cee86643b8eacde95f17d073d022f782c (diff) |
Bluetooth: qca: fix firmware check error path
A recent commit fixed the code that parses the firmware files before
downloading them to the controller but introduced a memory leak in case
the sanity checks ever fail.
Make sure to free the firmware buffer before returning on errors.
Fixes: f905ae0be4b7 ("Bluetooth: qca: add missing firmware sanity checks")
Cc: [email protected] # 4.19
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions