qcacmn: dfs memory leak fixed
dfs_detach function was called from ol/lmac layer during ath_detach. To fix the memory leak dfs_detach function called from dfs pdev destroy function. Change-Id: I41602c17ac9ab0b6eb1e9fbe9abe764d00ed0e93 CRs-Fixed: 2001106
This commit is contained in:

committed by
Sandeep Puligilla

parent
021a75a82b
commit
b973986b38
@@ -189,6 +189,8 @@ QDF_STATUS wlan_dfs_pdev_obj_destroy_notification(struct wlan_objmgr_pdev *pdev,
|
|||||||
WLAN_UMAC_COMP_DFS,
|
WLAN_UMAC_COMP_DFS,
|
||||||
(void *)dfs);
|
(void *)dfs);
|
||||||
|
|
||||||
|
nif_dfs_detach(dfs);
|
||||||
|
sif_dfs_detach(dfs);
|
||||||
dfs->dfs_pdev_obj = NULL;
|
dfs->dfs_pdev_obj = NULL;
|
||||||
dfs_destroy_object(dfs);
|
dfs_destroy_object(dfs);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user