提交 d8f98039 编写于 作者: F Filipe David Borba Manana 提交者: Chris Mason

Btrfs: fix memory leak of uuid_root in free_fs_info

Signed-off-by: NFilipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: NJosef Bacik <jbacik@fusionio.com>
Signed-off-by: NChris Mason <chris.mason@fusionio.com>
上级 ed84885d
...@@ -3460,6 +3460,7 @@ static inline void free_fs_info(struct btrfs_fs_info *fs_info) ...@@ -3460,6 +3460,7 @@ static inline void free_fs_info(struct btrfs_fs_info *fs_info)
kfree(fs_info->dev_root); kfree(fs_info->dev_root);
kfree(fs_info->csum_root); kfree(fs_info->csum_root);
kfree(fs_info->quota_root); kfree(fs_info->quota_root);
kfree(fs_info->uuid_root);
kfree(fs_info->super_copy); kfree(fs_info->super_copy);
kfree(fs_info->super_for_commit); kfree(fs_info->super_for_commit);
kfree(fs_info); kfree(fs_info);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册