public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Btrfs: add missing kfree in btrfs_destroy_workqueue
@ 2014-03-11 14:31 Filipe David Borba Manana
  2014-03-12  0:34 ` quwenruo
  0 siblings, 1 reply; 2+ messages in thread
From: Filipe David Borba Manana @ 2014-03-11 14:31 UTC (permalink / raw)
  To: linux-btrfs; +Cc: quwenruo, Filipe David Borba Manana


Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
---
 fs/btrfs/async-thread.c |    1 +
 1 file changed, 1 insertion(+)

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)
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-12  0:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-11 14:31 [PATCH] Btrfs: add missing kfree in btrfs_destroy_workqueue Filipe David Borba Manana
2014-03-12  0:34 ` quwenruo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox