]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ath9k_htc: rare leak in ath9k_hif_usb_alloc_tx_urbs()
authorDan Carpenter <error27@gmail.com>
Fri, 14 May 2010 14:52:37 +0000 (16:52 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 May 2010 19:07:42 +0000 (15:07 -0400)
commit7606688afc767c0b94bb2d79512affe3ba1264ce
treeb7b90b53d3a525cf1abe59eaee4942f344b896e0
parent690e781c5a3241d2366a3120ca410162da9c365e
ath9k_htc: rare leak in ath9k_hif_usb_alloc_tx_urbs()

This is obviously a small picky thing.  The original error handling code
doesn't free the most recent allocations which haven't been added to the
hif_dev->tx.tx_buf list yet.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hif_usb.c