diff options
author | Christian Lamparter <chunkeey@googlemail.com> | 2016-12-29 16:12:09 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2016-12-30 11:11:17 +0200 |
commit | 097e46d2ae90265d1afe141ba6208ba598b79e01 (patch) | |
tree | 27d922a1f0f3b2e6058bde58514ea2d304cb4da5 /include | |
parent | 8617690174041dfe959b6ad71f1ff93ef4bea5d3 (diff) |
ath10k: fix potential memory leak in ath10k_wmi_tlv_op_pull_fw_stats()
ath10k_wmi_tlv_op_pull_fw_stats() uses tb = ath10k_wmi_tlv_parse_alloc(...)
function, which allocates memory. If any of the three error-paths are
taken, this tb needs to be freed.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions