b43legacy: Fix rfkill allocation leakage in error paths
authorMichael Buesch <mb@bu3sch.de>
Wed, 23 Jan 2008 11:15:38 +0000 (12:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:26:36 +0000 (19:26 -0800)
commit8712f2769dd66d8e7ff179d525b93e0a15a5b963
tree4ee4da5b50a2b21d146b2435d593a88132b2cd0e
parent1946a2c3c6d138f0e1face8734226d9ba090e831
b43legacy: Fix rfkill allocation leakage in error paths

We must kill rfkill in any error paths that trigger after rfkill init.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Acked-by: Stefano Brivio <stefano.brivio@polimi.it>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/b43legacy/main.c