From: Dmitry Shmidt Date: Tue, 4 Oct 2011 20:10:37 +0000 (-0700) Subject: net: wireless: bcmdhd: Fix memory leak in wl_cfgp2p_down() X-Git-Tag: firefly_0821_release~7613^2~276 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6f6fe090c2ff1a740e990b91f04de67361e67a97;p=firefly-linux-kernel-4.4.55.git net: wireless: bcmdhd: Fix memory leak in wl_cfgp2p_down() Signed-off-by: Dmitry Shmidt --- 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; }