projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c053e1
)
net: wireless: bcmdhd: Fix memory leak in wl_cfgp2p_down()
author
Dmitry Shmidt
<dimitrysh@google.com>
Tue, 4 Oct 2011 20:10:37 +0000
(13:10 -0700)
committer
Dmitry Shmidt
<dimitrysh@google.com>
Thu, 6 Oct 2011 17:39:54 +0000
(10:39 -0700)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/net/wireless/bcmdhd/wl_cfgp2p.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/bcmdhd/wl_cfgp2p.c
b/drivers/net/wireless/bcmdhd/wl_cfgp2p.c
index 356bb38de33fd41d65f05432198caf770427cdbc..9a148cd45b2d679a3c7801e2aee421d5b950b69d 100644
(file)
--- a/
drivers/net/wireless/bcmdhd/wl_cfgp2p.c
+++ b/
drivers/net/wireless/bcmdhd/wl_cfgp2p.c
@@
-1309,6
+1309,7
@@
wl_cfgp2p_down(struct wl_priv *wl)
{
if (timer_pending(&wl->p2p->listen_timer))
del_timer_sync(&wl->p2p->listen_timer);
+ wl_cfgp2p_deinit_priv(wl);
return 0;
}