]> git.baikalelectronics.ru Git - kernel.git/commit
wl1251: fix a memory leak in probe
authorGrazvydas Ignotas <notasas@gmail.com>
Fri, 4 Jun 2010 23:25:47 +0000 (02:25 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Jun 2010 18:42:51 +0000 (14:42 -0400)
commita132bbc9b666601fae88f9a2a815cfa2f9da3ca6
treea59541ac3983582e50b4f9e4fdca49a4177754cd
parent83e946f8aa36fb2fad22e89c99d3040975d2df17
wl1251: fix a memory leak in probe

wl1251_sdio_probe() error path is missing wl1251_free_hw, add it.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Acked-by: Kalle Valo <kvalo@adurom.com>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_sdio.c