mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-09-21 03:43:03 +00:00
qcacld-2.0: Fix memory leak for 3 port concurrency feature.
This fix will resolve memory leak issue where memory was not getting released through calling csrFreeScanFilter. CRs-Fixed: 802042 Change-Id: I5c20fc66add1903f0ea39be663a239e24cfb180d
This commit is contained in:
parent
f4c04d3ba3
commit
d3594c992f
|
@ -7490,6 +7490,7 @@ eHalStatus csrScanGetBKIDCandidateList(tpAniSirGlobal pMac, tANI_U32 sessionId,
|
|||
}
|
||||
csrScanResultPurge(pMac, hBSSList);
|
||||
}//Have scan result
|
||||
csrFreeScanFilter(pMac, pScanFilter);
|
||||
}
|
||||
vos_mem_free(pScanFilter);
|
||||
}
|
||||
|
|
|
@ -3673,6 +3673,9 @@ VOS_STATUS sme_get_ap_channel_from_scan_cache(tHalHandle hHal,
|
|||
ret_status = VOS_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
if (NULL != profile)
|
||||
csrFreeScanFilter(pMac, scan_filter);
|
||||
|
||||
vos_mem_free(scan_filter);
|
||||
|
||||
return ret_status;
|
||||
|
|
Loading…
Reference in a new issue