ath10k: prevent memory leak in wmi rx ops
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 8 Jun 2015 11:23:27 +0000 (13:23 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 9 Jun 2015 10:49:33 +0000 (13:49 +0300)
commit469d479f91b8277cc921d7525f31c832b25d9efb
tree64de3d2ced7b71e7aa442aa9fc6a3e4b192caa04
parent0e6eb417fc1facda1c9a9189be85f16cb5b8b69f
ath10k: prevent memory leak in wmi rx ops

Found during code review. This was pretty much
impossible to happen but better safe than sorry.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/wmi-tlv.c
drivers/net/wireless/ath/ath10k/wmi.c