author | Eyal Shapira <eyal@wizery.com> | |
Wed, 14 Mar 2012 11:22:09 +0000 (13:22 +0200) | ||
committer | Eyal Shapira <eyal@wizery.com> | |
Sun, 18 Mar 2012 14:16:39 +0000 (16:16 +0200) | ||
commit | 673f97156d28f3076e9550526ed05852d903998c | |
tree | 24ad262da5ea42a56bc80f7c002638defd7ac8e1 | tree | snapshot (tar.xz tar.gz zip) |
parent | fb888d1710f370a2368379ffa2bee126b26535cd | commit | diff |
wl12xx: fix a memory leak of probereq template upon recovery
wlvif->probereq is zeroed when adding an interface but
the skb pointed to isn't freed when the interface is removed.
This would lead to a mem leak on every recovery.
Fix it by freeing the skb when removing the interface.
wlvif->probereq is zeroed when adding an interface but
the skb pointed to isn't freed when the interface is removed.
This would lead to a mem leak on every recovery.
Fix it by freeing the skb when removing the interface.
drivers/net/wireless/ti/wlcore/main.c | diff | blob | history |