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>
master
Zhao Lei 2015-08-25 14:11:07 +08:00 committed by David Sterba
parent 7fc612e6ca
commit 919d2becc8
1 changed files with 1 additions and 0 deletions

View File

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