Skip to content
Commit d33d105b authored by David Sterba's avatar David Sterba
Browse files

btrfs: tests: don't leak fs_info in extent_io bitmap tests



The fs_info is not freed at the end of the function and leaks. The
function is called twice so there can be up to 2x sizeof(struct
btrfs_fs_info) of leaked memory.  Fortunatelly this affects only testing
builds, the size could be 16k with several debugging features enabled.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent d46a05ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment