vfs: inode: destroy dirent list on inode_free
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
7b13316e90
commit
88ae2004c0
1 changed files with 1 additions and 0 deletions
|
|
@ -95,6 +95,7 @@ void inode_free(inode_t *inode)
|
|||
item = item->next;
|
||||
}
|
||||
}
|
||||
list_destroy(&inode->dirents);
|
||||
slab_free(inode_slab, inode);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue