From: Samuel Ortiz Date: Thu, 31 May 2012 15:29:15 +0000 (+0200) Subject: NFC: Destroy LLCP timout workqueue when releasing the link X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=07922bb1e0eb3fb4e559eea2430a35dbf33659e0;p=linux-beck.git NFC: Destroy LLCP timout workqueue when releasing the link Signed-off-by: Samuel Ortiz --- diff --git a/net/nfc/llcp/llcp.c b/net/nfc/llcp/llcp.c index 3fe68e1d2e88..5d503eeb15a1 100644 --- a/net/nfc/llcp/llcp.c +++ b/net/nfc/llcp/llcp.c @@ -111,6 +111,7 @@ static void local_release(struct kref *ref) skb_queue_purge(&local->tx_queue); destroy_workqueue(local->tx_wq); destroy_workqueue(local->rx_wq); + destroy_workqueue(local->timeout_wq); kfree_skb(local->rx_pending); kfree(local); }