summaryrefslogtreecommitdiff
path: root/include/math-emu
diff options
context:
space:
mode:
authorJingxiang Ge <quic_jge@quicinc.com>2021-12-02 15:59:01 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2021-12-29 23:13:32 -0800
commitc858fbc8b8fadb26e09c0133d3dd360c8c84ef04 (patch)
treea6517cd6981bbfff601f47df484e5a2438ebe47d /include/math-emu
parentab63644b28389f4fc5bfb8fe61e37f455f712964 (diff)
qcacld-3.0: Fix possible memory leak of tx_time_per_power_level
It is possible tx_time_per_power_level is not freed in last event, and it is reused in __wma_unified_radio_tx_power_level_stats_event_handler, the buffer size may be different for each event by manually test. Fix is to check if memory is freed before malloc, if not null, free it before malloc. Change-Id: I51064734cf97b9ff0ecbbaf27f38d5a223c91d3b CRs-Fixed: 3057436
Diffstat (limited to 'include/math-emu')
0 files changed, 0 insertions, 0 deletions