]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
Btrfs: fix memory leak of uuid_root in free_fs_info
authorFilipe David Borba Manana <fdmanana@gmail.com>
Sat, 24 Aug 2013 18:51:06 +0000 (19:51 +0100)
committerChris Mason <chris.mason@fusionio.com>
Sun, 1 Sep 2013 12:16:37 +0000 (08:16 -0400)
Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/ctree.h

index 1f3fd584e5f4f10c552a1e4209fd6557b2c7f980..3c1da6f98a4d25666f4a2afb6fce25bff80ac8c8 100644 (file)
@@ -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);