mac80211: Fix memleak in nl80211 authentication on deinit
authorJouni Malinen <jouni.malinen@atheros.com>
Fri, 20 Mar 2009 13:53:16 +0000 (15:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:13:04 +0000 (20:13 -0400)
commitd7873cb9abb5d8b4b9f7f5749af06e4e03798733
treedd55545ca83a12cbe9e519f543516a95eedf0bea
parent6b2c40326f9569283444d483448bcaadeca903e9
mac80211: Fix memleak in nl80211 authentication on deinit

This file was forgotten from the quilt patch that added MLME
primitives, so the kfree on interface removal is missing. Fix this
potential memleak by freeing the temporary Authentication frame IEs
from SME when the interface is being removed.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/iface.c