mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacmn: Fix memory leak in 6GHz channel update
Fix memory leak in 6GHz channel list update for scan manager. In scm_update_6ghz_channel_list function dynamic memory allocation for local variable was not freed. This was cusing memory leak during module unload. CRs-Fixed: 2558436 Change-Id: I9535a3621e0fc5916cdf39934fec7c51c1b8e32b
This commit is contained in:
parent
986f5c97b9
commit
76b7920e40
1 changed files with 1 additions and 0 deletions
|
|
@ -882,6 +882,7 @@ scm_update_6ghz_channel_list(struct wlan_objmgr_vdev *vdev,
|
|||
chan_list_6g[i].center_freq;
|
||||
}
|
||||
}
|
||||
qdf_mem_free(chan_list_6g);
|
||||
}
|
||||
scm_debug("Number of channels to scan %d", num_scan_channels);
|
||||
for (i = 0; i < num_scan_channels; i++)
|
||||
|
|
|
|||
Loading…
Reference in a new issue