qcacmn: Address memory leak in dfs_init_chan_state_array
Fix memory leak in dfs_init_chan_state_array() API. CRs-Fixed: 3442778 Change-Id: If2d7db598077975dc33617f6c30f6f86fb2d1247
This commit is contained in:

committed by
Madan Koyyalamudi

szülő
34bcece450
commit
5b3d70f9a2
@@ -1506,6 +1506,7 @@ QDF_STATUS dfs_init_chan_state_array(struct wlan_objmgr_pdev *pdev)
|
||||
|
||||
if (wlan_reg_get_current_chan_list(
|
||||
pdev, cur_chan_list) != QDF_STATUS_SUCCESS) {
|
||||
qdf_mem_free(cur_chan_list);
|
||||
dfs_alert(dfs, WLAN_DEBUG_DFS_ALWAYS,
|
||||
"failed to get curr channel list");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
Reference in New Issue
Block a user