android_kernel_xiaomi_sm8350/core/hdd
Rajeev Kumar Sirasanagandla 2feb421680 qcacld-3.0: Avoid mem leak in vendor command acs_chan_config
While processing vendor command acs_chan_config,
in hdd_parse_vendor_acs_chan_config() memory allocated for channel_list
is not de-allocated in error scenario. This leads to memory leak.

To address this, while returning error, free channel_list in
hdd_parse_vendor_acs_chan_config().

Change-Id: Icdd264cfaa2e4266c22bc87c234e4a21122618b6
CRs-Fixed: 2410875
2019-03-19 19:47:30 -07:00
..
inc qcacld-3.0: Use converged qcacmn macros (part 1) 2019-03-19 02:24:23 -07:00
src qcacld-3.0: Avoid mem leak in vendor command acs_chan_config 2019-03-19 19:47:30 -07:00