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 |
||
---|---|---|
.. | ||
bmi | ||
cds | ||
dp | ||
hdd | ||
mac | ||
pld | ||
sap | ||
sme | ||
wma |