android_kernel_xiaomi_sm8350/core
gaurank kathpalia 247554ce79 qcacld-3.0: Free allocated memory in wma_unified_link_radio_stats_event_handler
In the file wma_unified_radio_tx_power_level_stats_event_handler ,
the driver allocates  memory to rs_results->tx_time_per_power_level ,
also in api wma_unified_link_radio_stats_event_handler ,
rs_results->channels , without checking a previous allocated
memory for the same . Also the driver makes the pointers
rs_results->tx_time_per_power_level and rs_results->channels
as null without a prior check , which results in a memory leak.
Fix is to add a check for rs_results->channels and
rs_results->tx_time_per_power_level for NULL , and free
the already allocated memory for the same.

Change-Id: I02af53454270239bf68446a727b735c8ef10d434
CRs-Fixed: 2150714
2017-12-16 03:26:14 -08:00
..
bmi Revert "qcacld-3.0: Do not access target register in driver unloading" 2017-10-25 17:48:22 -07:00
cds qcacld-3.0: Execute sme_stop and mac_stop in mc thread context 2017-12-15 03:42:05 -08:00
dp qcacld-3.0: Add peer APIs to get and release peer ref 2017-12-12 17:57:16 -08:00
hdd qcacld-3.0: Add wlan module transition logs 2017-12-16 03:26:12 -08:00
mac Release 5.2.0.58B 2017-12-16 01:26:56 -08:00
pld qcacld-3.0: Remove unused PLD PCIe APIs 2017-12-01 13:39:58 -08:00
sap qcacld-3.0: Check regulatory domain before assuming ETSI channels 2017-12-08 13:28:27 -08:00
sme qcacld-3.0: Add a SSID length check 2017-12-13 20:08:21 -08:00
wma qcacld-3.0: Free allocated memory in wma_unified_link_radio_stats_event_handler 2017-12-16 03:26:14 -08:00