commit | b9c191be3fbdd9d78be11160dd7a3ddb9fdc6d42 | [log] [tgz] |
---|---|---|
author | Raja Mani <rmani@qti.qualcomm.com> | Thu Mar 10 10:25:07 2016 +0530 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Fri Mar 18 09:53:26 2016 +0200 |
tree | 344f41ef9eb7620a8f473e18307ee7324d69532f | |
parent | cac085524cf16434ac1d42427a8644cf532d3e87 [diff] |
ath10k: free cached fw bin contents when get board id fails ath10k_core_probe_fw() simply returns error without freeing cached firmware file content when get board id operation fails. Free cached fw bin data in failure case to avoid memory leak. Fixes: db0984e51a18 ("ath10k: select board data based on BMI chip id and board id") Signed-off-by: Raja Mani <rmani@qti.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>