diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-04-05 10:49:49 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-04-25 11:25:36 +0300 |
commit | 3763770044640caeb1101cdea40697cc0814403c (patch) | |
tree | 090cd01cc4f6112cc3a4e6e8a5b1b14f467f05df /drivers/net/wireless/ath/wil6210/main.c | |
parent | 9d81ecde4dce37cd9e147c24c9bc0cd1d4c259d5 (diff) | |
download | talos-op-linux-3763770044640caeb1101cdea40697cc0814403c.tar.gz talos-op-linux-3763770044640caeb1101cdea40697cc0814403c.zip |
qtnfmac: pearl: pcie: fix memory leak in qtnf_fw_work_handler
In case memory resources for fw were succesfully allocated, release
them before jumping to fw_load_fail.
Addresses-Coverity-ID: 1466092 ("Resource leak")
Fixes: c3b2f7ca4186 ("qtnfmac: implement asynchronous firmware loading")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/main.c')
0 files changed, 0 insertions, 0 deletions