summaryrefslogtreecommitdiff
path: root/cmds-restore.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmds-restore.c')
-rw-r--r--cmds-restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-restore.c b/cmds-restore.c
index 44581df3..808d1f17 100644
--- a/cmds-restore.c
+++ b/cmds-restore.c
@@ -612,7 +612,7 @@ static int copy_metadata(struct btrfs_root *root, int fd,
}
}
out:
- btrfs_release_path(path);
+ btrfs_free_path(path);
return ret;
}