android_kernel_xiaomi_sm8350/core/wma
Pragaspathi Thilagaraj beb769e8c5 qcacld-3.0: Fix mem leak in wma_roam_update_vdev
In the memory allocated for del_sta_params, set_link_params and
del_bss_params is not freed if the malloc for add_sta_params
fails. This causes memory leak in wma_roam_update_vdev.
Also in wma_extscan_operations_event_handler, oprn_ind is not
freed in case of failure.

Free the memory allocated for del_sta_params, set_link_params,
del_bss_params, oprn_ind during every return.

Change-Id: I727cc734943a2abcc2cfeca3285af13eb68cfe44
CRs-Fixed: 2464098
2019-06-07 01:51:05 -07:00
..
inc qcacld-3.0: Add WMA API to know if vdev is roaming 2019-06-03 02:26:49 -07:00
src qcacld-3.0: Fix mem leak in wma_roam_update_vdev 2019-06-07 01:51:05 -07:00