From 6f6fe090c2ff1a740e990b91f04de67361e67a97 Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Tue, 4 Oct 2011 13:10:37 -0700 Subject: [PATCH] net: wireless: bcmdhd: Fix memory leak in wl_cfgp2p_down() Signed-off-by: Dmitry Shmidt --- drivers/net/wireless/bcmdhd/wl_cfgp2p.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/bcmdhd/wl_cfgp2p.c b/drivers/net/wireless/bcmdhd/wl_cfgp2p.c index 356bb38de33f..9a148cd45b2d 100644 --- 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; } -- 2.34.1