diff options
| author | Edhar, Mahesh Kumar <c_medhar@qti.qualcomm.com> | 2015-10-29 14:12:53 +0530 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2015-10-30 14:42:40 +0530 |
| commit | e7b83bb83d7c96456fc90dc3ca14f5c23c55da8f (patch) | |
| tree | b4df0d47d31d46c3808c41bdabf63f91a6017e91 | |
| parent | ac9d6b536fcc115976d17ca95e28819231e80642 (diff) | |
qcacld-2.0: Change to address memory leak
As per the current implementation during join timer start failure scenario,
pMlmJoinReq assigned to NULL with out freeing the memory resulting in
memory leak.
change made to release the memory in failure scenario.
Change-Id: I3f37f45129baec76671caff09790bfb70bf01208
CRs-Fixed: 930553
| -rw-r--r-- | CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c b/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c index 1f39be6b0449..63b36dc1b07b 100644 --- a/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c +++ b/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c @@ -3959,8 +3959,6 @@ static void limProcessSwitchChannelJoinReq(tpAniSirGlobal pMac, tpPESession pses MTRACE(macTrace(pMac, TRACE_CODE_MLM_STATE, psessionEntry->peSessionId, pMac->lim.gLimMlmState)); - //memory is freed up below. - psessionEntry->pLimMlmJoinReq = NULL; goto error; } |
