summaryrefslogtreecommitdiff
path: root/net/sunrpc
diff options
context:
space:
mode:
authorRaja Mani <rmani@qti.qualcomm.com>2016-03-10 10:25:07 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-10 10:25:59 +0200
commitdc4f0e1cf9ab8ad370117c2137301a24dff500e1 (patch)
tree56687fa3831e4e6ba8ec67bba7941386ce6622b3 /net/sunrpc
parentdb05a639e4137ef5d56dcb173bde229d29915561 (diff)
ath10k: free cached fw bin contents when get board id fails
commit b9c191be3fbdd9d78be11160dd7a3ddb9fdc6d42 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions