]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Staging: w35und: plug memory leak in wbsoft_tx()
authorPekka Enberg <penberg@cs.helsinki.fi>
Mon, 27 Oct 2008 22:14:38 +0000 (00:14 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Jan 2009 21:51:44 +0000 (13:51 -0800)
commit16d3659fcda922a31873e9e827b12c825b36fd11
treefcd838edae81600573303a75411b3785b5db447b
parent3c01ec0d82885d4764d066c9a1e3a431e6fb0f04
Staging: w35und: plug memory leak in wbsoft_tx()

There's no reason to duplicate the skb in wbsoft_tx() and leak GFP_ATOMIC
memory as the contents are copied to ->TxBuffer in MdxTx() anyway before
MLMESendFrame() returns.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/winbond/linux/wbusb.c