summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKabilan Kannan <kabilank@codeaurora.org>2017-02-03 20:38:46 -0800
committerqcabuildsw <qcabuildsw@localhost>2017-02-07 00:52:09 -0800
commit024d655f8369ae5b455d6be8a44e2ab1d747dca7 (patch)
tree107d49c6f282801eccb666fefb362a979fa44eb1
parent9bdc32ff7d251e393c44df3cafd65e37e4eef8e8 (diff)
qcacld-3.0: Fix TDLS peer idle timer memory leaks
TDLS peer list is deleted before TDLS exit called, due to this TDLS peer idle timer resources are not cleared correctly and causes memory leak in the system. Make sure TDLS peer list is deleted only in TDLS exit function. Change-Id: I2885d0ff21fa55a0514c68c40a9a15200bc4ed9a CRs-Fixed: 2002378
-rw-r--r--core/hdd/src/wlan_hdd_tdls.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_tdls.c b/core/hdd/src/wlan_hdd_tdls.c
index 8782b9c984a0..74899cd95d99 100644
--- a/core/hdd/src/wlan_hdd_tdls.c
+++ b/core/hdd/src/wlan_hdd_tdls.c
@@ -2506,7 +2506,6 @@ void wlan_hdd_tdls_disconnection_callback(hdd_adapter_t *pAdapter)
wlan_hdd_tdls_check_power_save_prohibited(pHddTdlsCtx->pAdapter);
wlan_hdd_tdls_timers_stop(pHddTdlsCtx);
- wlan_hdd_tdls_free_list(pHddTdlsCtx);
pHddTdlsCtx->curr_candidate = NULL;