diff --git a/fs/ocfs2/move_extents.c b/fs/ocfs2/move_extents.c
index 415928536c5e91185cbe2833ecc4757097fc05b5..3d3f3c83065ca3ed51d9dac690bac2e2012a36f9 100644
--- a/fs/ocfs2/move_extents.c
+++ b/fs/ocfs2/move_extents.c
@@ -152,6 +152,7 @@ static int __ocfs2_move_extent(handle_t *handle,
 	}
 
 out:
+	ocfs2_free_path(path);
 	return ret;
 }