diff options
author | Navid Emamdoost <navid.emamdoost@gmail.com> | 2019-09-06 21:26:03 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-09-10 16:28:29 +0300 |
commit | 853acf7caf10b828102d92d05b5c101666a6142b (patch) | |
tree | cbb4cb3baa9b6844629c6c169767065e9b51af45 /drivers/net/wireless/ath/ath9k/wmi.c | |
parent | 45f09a1c5b8584334899121d4b33a4aebe05e068 (diff) | |
download | linux-853acf7caf10b828102d92d05b5c101666a6142b.tar.xz |
ath9k_htc: release allocated buffer if timed out
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/wmi.c')
0 files changed, 0 insertions, 0 deletions