diff options
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; } } |