mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
net: wireless: bcmdhd: Fix memory leak in wl_cfgp2p_down()
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user