aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristian Engelmayer <[email protected]>2015-08-21 23:14:26 +0200
committerKalle Valo <[email protected]>2015-08-25 15:37:41 +0300
commita8b9774571d46506a0774b1ced3493b1245cf893 (patch)
tree2fccddabbf5c2babf4565acc3141bf85182e9c8d /tools/perf/scripts/python
parent4e70f2144db01f7214ed5846e47abf128fbfb5af (diff)
rsi: Fix possible leak when loading firmware
Commit 5d5cd85ff441 ("rsi: Fix failure to load firmware after memory leak fix and fix the leak") also added a check on the allocation of DMA-accessible memory that may directly return. In that case the already allocated firmware data is leaked. Make sure the data is always freed correctly. Detected by Coverity CID 1316519. Fixes: 5d5cd85ff441 ("rsi: Fix failure to load firmware after memory leak fix and fix the leak") Signed-off-by: Christian Engelmayer <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions