commit | 097e46d2ae90265d1afe141ba6208ba598b79e01 | [log] [tgz] |
---|---|---|
author | Christian Lamparter <chunkeey@googlemail.com> | Thu Dec 29 16:12:09 2016 +0200 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Fri Dec 30 11:11:17 2016 +0200 |
tree | 27d922a1f0f3b2e6058bde58514ea2d304cb4da5 | |
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>