btrfs-progs: add missing free operation of raid_map for raid56

We forgot free raid_map for raid56's map_bio.
This patch add it.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Zhao Lei 2015-08-25 14:11:07 +08:00 committed by David Sterba
parent 7fc612e6ca
commit 919d2becc8

View File

@ -428,6 +428,7 @@ int write_and_map_eb(struct btrfs_trans_handle *trans,
ret = write_extent_to_disk(eb); ret = write_extent_to_disk(eb);
BUG_ON(ret); BUG_ON(ret);
} }
kfree(raid_map);
kfree(multi); kfree(multi);
return 0; return 0;
} }