Fix a retain cycle in the FileTreeNode class (#638)

Fixes a retain cycle in the `FileTreeNode` class.
This commit is contained in:
Dmitry Kovba authored and GitHub committed 2026-04-03 17:01:24 -04:00
1 parent c32d0f3716
commit 79427211dc
1 file changed
+1 -1
@@ -26,7 +26,7 @@ extension EXT4 {
var blocks: (start: UInt32, end: UInt32)?
var additionalBlocks: [(start: UInt32, end: UInt32)]?
var link: InodeNumber?
private var parent: Ptr<FileTreeNode>?
private weak var parent: Ptr<FileTreeNode>?
init(
inode: InodeNumber,