From 024d655f8369ae5b455d6be8a44e2ab1d747dca7 Mon Sep 17 00:00:00 2001 From: Kabilan Kannan Date: Fri, 3 Feb 2017 20:38:46 -0800 Subject: 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 --- core/hdd/src/wlan_hdd_tdls.c | 1 - 1 file changed, 1 deletion(-) 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; -- cgit v1.2.3