From 65fa03168411e1946d645fffe7dcbbb41ca6318e Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Sun, 17 May 2020 19:20:44 +0530 Subject: [PATCH] qcacld-3.0: Free lmac tx/rx ops in start module failure The lmac tx/rx ops are not freed in failure case of start module which lead to mem leak. So Free lmac tx/rx ops in start module failure. Change-Id: Ib222e7e31164488cca7b7cc3d241f895f49daa6d CRs-Fixed: 2688176 --- core/hdd/src/wlan_hdd_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index aa3690f9a25d..0f0c021c2d8d 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -3836,6 +3836,7 @@ close: psoc_close: hdd_component_psoc_close(hdd_ctx->psoc); + wlan_global_lmac_if_close(hdd_ctx->psoc); cds_deinit_ini_config(); cds_free: