summaryrefslogtreecommitdiff
path: root/sound/i2c
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>2012-08-14 10:10:34 +0530
committerKalle Valo <kvalo@qca.qualcomm.com>2012-10-24 11:49:45 +0300
commit8114f9b6d28686de02c3f83f0543665728b1a15b (patch)
tree8f155af56a810cc75baf847e62249ee095f37f17 /sound/i2c
parent0616dc1f2bef563d7916c0dcedbb1bff7d9bd80b (diff)
ath6kl: Fix potential memory leak in ath6kl_tx_complete()
We bail out from ath6kl_tx_complete() if any of the sanity checks on skb and ath6kl_cookie fails. By doing this we potentially leak few remaining buffers in packet_queue. Make sure to proceed processing the remaining buffers as well. This issue is found during code review. Reported-by: Wang yufeng <yufengw@qca.qualcomm.com> Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions