diff options
author | Miaoqing Pan <miaoqing@codeaurora.org> | 2019-10-09 11:18:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-01 14:14:24 +0300 |
commit | c22a24ad5f16a88695f6403d98ae265cf0013424 (patch) | |
tree | 32554042b69f9b03a5612f96b4d844a5a583a42d /mm/memory.c | |
parent | ffca49e2925c709372727022273c66a49865009d (diff) | |
download | linux-c22a24ad5f16a88695f6403d98ae265cf0013424.tar.xz |
ath10k: fix memory leak for tpc_stats_final
[ Upstream commit 486a8849843455298d49e694cca9968336ce2327 ]
The memory of ar->debug.tpc_stats_final is reallocated every debugfs
reading, it should be freed in ath10k_debug_destroy() for the last
allocation.
Tested HW: QCA9984
Tested FW: 10.4-3.9.0.2-00035
Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions