diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index 409c549ae02aabe31cb3a81d0e8eeb9a364245b4..4f8197caa487f59c1868d4e292e254587a46eab1 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -1796,6 +1796,7 @@ static int ocfs2_remove_inode_range(struct inode *inode,
 	ocfs2_truncate_cluster_pages(inode, byte_start, byte_len);
 
 out:
+	ocfs2_free_path(path);
 	ocfs2_schedule_truncate_log_flush(osb, 1);
 	ocfs2_run_deallocs(osb, &dealloc);