diff options
| author | Abhinav Kumar <abhikuma@codeaurora.org> | 2018-07-09 11:33:45 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-07-09 18:03:43 -0700 |
| commit | 4b5d52e4d2acbf2798dd3a9db943de87932cb654 (patch) | |
| tree | 3a514e6bae84abf48d82add432178b877aab2912 /tools/perf/scripts/python | |
| parent | d09cbcdb44d847b192653c1a88bbdcd16e6fb51b (diff) | |
qcacld-3.0: Fix mem leak in csr_scan_save_bss_description_to_interim_list
csr_scan_save_bss_description_to_interim_list allocates memory for
pCsrBssDescription and invokes csr_ll_insert_tail to add
pCsrBssDescription into tempScanResults. In case when,
csr_scan_add_result fails to insert tempScanResults to main scan result
list, mem leak could happen if csr_scan_add_result return without free
buffer for tempScanResults.
Allow csr_scan_add_result to free the memory for pCsrBssDescription
buffer.
Change-Id: I20a9057e517eb09cc845d8d63ed4591f4da3fa1d
CRs-Fixed: 2273250
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
