projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bb51c7
)
mwifiex: fix memory leak associated with IE manamgement
author
Avinash Patil
<patila@marvell.com>
Wed, 27 Jun 2012 19:46:24 +0000
(12:46 -0700)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 27 Jun 2012 20:00:34 +0000
(16:00 -0400)
Free ap_custom_ie before return from function.
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/ie.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mwifiex/ie.c
b/drivers/net/wireless/mwifiex/ie.c
index ceb82cd749cc7ba1ca2054ae0b675802d2194190..383820a52beba0d62428614131adbe42def1e5db 100644
(file)
--- a/
drivers/net/wireless/mwifiex/ie.c
+++ b/
drivers/net/wireless/mwifiex/ie.c
@@
-213,6
+213,7
@@
mwifiex_update_uap_custom_ie(struct mwifiex_private *priv,
/* save assoc resp ie index after auto-indexing */
*assoc_idx = *((u16 *)pos);
+ kfree(ap_custom_ie);
return ret;
}