summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorZhen Kong <zkong@codeaurora.org>2017-01-10 12:19:08 -0800
committerZhen Kong <zkong@codeaurora.org>2017-01-10 13:14:10 -0800
commit0963c07e9f07769d4ad753451c81948a8ca27ee9 (patch)
treed96ac5680c7bfd83a3b435782e81b63c905ae313 /tools/perf/scripts/python
parent0a8e939a4e57d86da88c9856cd266447fc45ea85 (diff)
qseecom: fix potential memory leak in __qseecom_update_cmd_buf_64
__qseecom_update_cmd_buf_64() called __qseecom_allocate_sg_list_buffer() to allocate memory from within a for loop. Should it fail on any other than the first time through the loop, the prior allocations will not be deallocated, make change to deallocate memory in this error case. Change-Id: I8cb71a3b141249d8266aec4890632f200d147405 Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions