net: wireless: bcmdhd: Fix memory leak in wl_cfgp2p_down()

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
Dmitry Shmidt
2011-10-04 13:10:37 -07:00
parent 3c053e150b
commit 6f6fe090c2

View File

@@ -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;
}