projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d47618
)
wl1251: fix a memory leak in probe
author
Grazvydas Ignotas
<
[email protected]
>
Fri, 4 Jun 2010 23:25:47 +0000
(
02:25
+0300)
committer
John W. Linville
<
[email protected]
>
Mon, 7 Jun 2010 18:42:51 +0000
(14:42 -0400)
wl1251_sdio_probe() error path is missing wl1251_free_hw, add it.
Signed-off-by: Grazvydas Ignotas <
[email protected]
>
Acked-by: Kalle Valo <
[email protected]
>
Cc:
[email protected]
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/wl12xx/wl1251_sdio.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/wl12xx/wl1251_sdio.c
b/drivers/net/wireless/wl12xx/wl1251_sdio.c
index d234285c2c81186fc096044dcfa309236e7e2d51..c561332e70092b18280fff1843f948b13603289a 100644
(file)
--- a/
drivers/net/wireless/wl12xx/wl1251_sdio.c
+++ b/
drivers/net/wireless/wl12xx/wl1251_sdio.c
@@
-259,6
+259,7
@@
disable:
sdio_disable_func(func);
release:
sdio_release_host(func);
+ wl1251_free_hw(wl);
return ret;
}