diff options
| author | Naveen Rawat <naveenrawat@codeaurora.org> | 2017-09-18 18:36:06 -0700 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2017-09-20 18:37:30 -0700 |
| commit | 6dfa33cc50c7dce4ea563c0e16cb9fecb3057555 (patch) | |
| tree | 38b7f85d33810bf3541258c9f77c69bc7aa54b7f | |
| parent | 0276f9f4cfebcfe310d86bdbb493c8461e0257df (diff) | |
qcacld-3.0: Fix memory leak in SAP csr roam profile during SSR
In case of SSR and SAP is active, if hdd_init_ap_mode is not clean
SAP profile will leak memory. Fix memory leak in this case.
Change-Id: I7655d8f1d5654e583cbf4812c7f5e2a3a20ff54a
CRs-Fixed: 2112581
| -rw-r--r-- | core/sap/src/sap_module.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/sap/src/sap_module.c b/core/sap/src/sap_module.c index edd8a2bc6814..5e0fe698b20d 100644 --- a/core/sap/src/sap_module.c +++ b/core/sap/src/sap_module.c @@ -517,6 +517,7 @@ QDF_STATUS wlansap_clean_cb(ptSapContext pSapCtx, uint32_t freeFlag /* 0 / pSapCtx); } + sap_free_roam_profile(&pSapCtx->csr_roamProfile); qdf_mem_zero(pSapCtx, sizeof(tSapContext)); pSapCtx->p_cds_gctx = NULL; |
