net: wireless: bcmdhd: Fix memory leak in wl_cfgp2p_down()
authorDmitry Shmidt <dimitrysh@google.com>
Tue, 4 Oct 2011 20:10:37 +0000 (13:10 -0700)
committerDmitry 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

index 356bb38de33fd41d65f05432198caf770427cdbc..9a148cd45b2d679a3c7801e2aee421d5b950b69d 100644 (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;
 }