From: Filipe David Borba Manana Date: Sat, 24 Aug 2013 18:51:06 +0000 (+0100) Subject: Btrfs: fix memory leak of uuid_root in free_fs_info X-Git-Tag: v3.12-rc1~40^2~5 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=d8f980391f418e567c805d3e40be5d63bfc4c8ea;p=~emulex%2Finfiniband.git Btrfs: fix memory leak of uuid_root in free_fs_info Signed-off-by: Filipe David Borba Manana Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 1f3fd584e5f..3c1da6f98a4 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -3460,6 +3460,7 @@ static inline void free_fs_info(struct btrfs_fs_info *fs_info) kfree(fs_info->dev_root); kfree(fs_info->csum_root); kfree(fs_info->quota_root); + kfree(fs_info->uuid_root); kfree(fs_info->super_copy); kfree(fs_info->super_for_commit); kfree(fs_info);