projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3f5a1b
)
wlcore: don't leak wl->mbox
author
Eliad Peller
<eliad@wizery.com>
Mon, 19 Nov 2012 15:14:06 +0000
(17:14 +0200)
committer
Luciano Coelho
<coelho@ti.com>
Tue, 27 Nov 2012 08:49:23 +0000
(10:49 +0200)
free it on wlcore_free_hw()
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/ti/wlcore/main.c
b/drivers/net/wireless/ti/wlcore/main.c
index a420ba3d754765f518730ed02ae531ecaa8a630a..d425bd5eda7e5480edbb65c3d4edd48cc30993f5 100644
(file)
--- a/
drivers/net/wireless/ti/wlcore/main.c
+++ b/
drivers/net/wireless/ti/wlcore/main.c
@@
-5638,6
+5638,7
@@
int wlcore_free_hw(struct wl1271 *wl)
device_remove_file(wl->dev, &dev_attr_hw_pg_ver);
device_remove_file(wl->dev, &dev_attr_bt_coex_state);
+ kfree(wl->mbox);
free_page((unsigned long)wl->fwlog);
dev_kfree_skb(wl->dummy_packet);
free_pages((unsigned long)wl->aggr_buf, get_order(wl->aggr_buf_size));