diff options
author | David Sterba <dsterba@suse.com> | 2016-09-07 16:22:33 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-10-03 11:33:15 +0200 |
commit | 1ed3426d3f74bbbfaab2b77991596644e2e6321d (patch) | |
tree | 8ecd429e5746c766fa84781d7a73a64afe75e24f /chunk-recover.c | |
parent | b80a4641e53c042c1fd22cdce561aec9d205838b (diff) |
btrfs-progs: use standard allocation functions in non-kenrel code
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'chunk-recover.c')
-rw-r--r-- | chunk-recover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chunk-recover.c b/chunk-recover.c index f1f9849e..107ce066 100644 --- a/chunk-recover.c +++ b/chunk-recover.c @@ -968,7 +968,7 @@ static int build_device_map_by_chunk_record(struct btrfs_root *root, map->stripes[i].dev = btrfs_find_device(root, devid, uuid, NULL); if (!map->stripes[i].dev) { - kfree(map); + free(map); return -EIO; } } |