diff options
| author | Navid Emamdoost <navid.emamdoost@gmail.com> | 2019-09-06 13:26:03 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-21 10:52:52 +0200 |
| commit | 60fa3632210b1dc99296100227ae2d79ebbb4780 (patch) | |
| tree | b8cc4ec1a5c9ae1adb8083cfeafe06d78ec6c31e /tools/perf/scripts | |
| parent | 84c9c409286617385e71d4d0d0c9dd940b574469 (diff) | |
ath9k_htc: release allocated buffer if timed out
[ Upstream commit 853acf7caf10b828102d92d05b5c101666a6142b ]
In htc_config_pipe_credits, htc_setup_complete, and htc_connect_service
if time out happens, the allocated buffer needs to be released.
Otherwise there will be memory leak.
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
