From: Filipe Manana Date: Tue, 11 Mar 2014 14:31:44 +0000 (+0000) Subject: Btrfs: add missing kfree in btrfs_destroy_workqueue X-Git-Tag: v4.14-rc1~7501^2~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef66af101a261f1c86ef9ec3859ebd9c28ee2e54;p=platform%2Fkernel%2Flinux-rpi.git Btrfs: add missing kfree in btrfs_destroy_workqueue Signed-off-by: Filipe David Borba Manana Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/async-thread.c b/fs/btrfs/async-thread.c index 00623dd..66532b8 100644 --- a/fs/btrfs/async-thread.c +++ b/fs/btrfs/async-thread.c @@ -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)