summaryrefslogtreecommitdiff
path: root/check/mode-lowmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'check/mode-lowmem.c')
-rw-r--r--check/mode-lowmem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/check/mode-lowmem.c b/check/mode-lowmem.c
index 5e1d6b2a..39d12ddc 100644
--- a/check/mode-lowmem.c
+++ b/check/mode-lowmem.c
@@ -2597,6 +2597,7 @@ static int repair_extent_data_item(struct btrfs_trans_handle *trans,
err &= ~BACKREF_MISSING;
out:
+ btrfs_release_path(&path);
if (ret)
error("can't repair root %llu extent data item[%llu %llu]",
root->objectid, disk_bytenr, num_bytes);