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:
AnjaneeDevi Kapparapu 2015-03-02 16:22:13 -08:00 committed by syphyr
parent f4c04d3ba3
commit d3594c992f
2 changed files with 4 additions and 0 deletions

View file

@ -7490,6 +7490,7 @@ eHalStatus csrScanGetBKIDCandidateList(tpAniSirGlobal pMac, tANI_U32 sessionId,
}
csrScanResultPurge(pMac, hBSSList);
}//Have scan result
csrFreeScanFilter(pMac, pScanFilter);
}
vos_mem_free(pScanFilter);
}

View file

@ -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;