Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bdc924bb authored by Ian Kent's avatar Ian Kent Committed by Li Zefan
Browse files

Btrfs: Fix memory leak on finding existing super



We missed a memory deallocation in commit 450ba0ea.

If an existing super block is found at mount and there is no
error condition then the pre-allocated tree_root and fs_info
are no not used and are not freeded.

Signed-off-by: default avatarIan Kent <raven@themaw.net>
Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
parent 83a4d548
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment