adm8211: fix memory leak
authorKulikov Vasiliy <segooon@gmail.com>
Sat, 10 Jul 2010 12:28:57 +0000 (16:28 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Jul 2010 20:05:32 +0000 (16:05 -0400)
commitb85aeb51805265b9f826857e5c5d9c0cd70dda55
tree52a9d32f6266844186ebe0ca2488102f4ef9a6ae
parent4c92831d99827971cf2854cfa7f884213099428f
adm8211: fix memory leak

We must free priv->eeprom allocated in adm8211_read_eeprom().

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/adm8211.c