mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
qcacld-3.0: Resolve memory leak issues
qcacld-2.0 to qcacld-3.0 propagation In SME, while processing set beacon parameters, free dynamically allocated memory, once done with the it. Change-Id: I281ef5eb9492fe75d639b2bef7ed588aacee8e74 CRs-Fixed: 974567 (cherry picked from commit feaa49e6b906f33a98a11f5ee35c947abe5d28bd)
This commit is contained in:
parent
1891fe4e6a
commit
7f7a27115c
1 changed files with 2 additions and 0 deletions
|
|
@ -2174,6 +2174,8 @@ QDF_STATUS sme_set_ese_beacon_request(tHalHandle hHal, const uint8_t sessionId,
|
|||
if (status != QDF_STATUS_SUCCESS)
|
||||
pSmeRrmContext->eseBcnReqInProgress = false;
|
||||
|
||||
qdf_mem_free(pSmeBcnReportReq);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue