vfs: inode: destroy dirent list on inode_free

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-05 14:19:07 +02:00
commit 88ae2004c0

View file

@ -95,6 +95,7 @@ void inode_free(inode_t *inode)
item = item->next;
}
}
list_destroy(&inode->dirents);
slab_free(inode_slab, inode);
}