]> Git Repo - linux.git/commitdiff
Btrfs: add missing kfree in btrfs_destroy_workqueue
authorFilipe Manana <[email protected]>
Tue, 11 Mar 2014 14:31:44 +0000 (14:31 +0000)
committerChris Mason <[email protected]>
Fri, 21 Mar 2014 00:15:27 +0000 (17:15 -0700)
Signed-off-by: Filipe David Borba Manana <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
fs/btrfs/async-thread.c

index 00623dd16b81467ab2f164b445bf74981f5c0a6f..66532b8f0f7c683b4cda403f2cc3bcdf1c04ca38 100644 (file)
@@ -315,6 +315,7 @@ void btrfs_destroy_workqueue(struct btrfs_workqueue *wq)
        if (wq->high)
                __btrfs_destroy_workqueue(wq->high);
        __btrfs_destroy_workqueue(wq->normal);
+       kfree(wq);
 }
 
 void btrfs_workqueue_set_max(struct btrfs_workqueue *wq, int max)
This page took 0.058645 seconds and 4 git commands to generate.