mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 10:46:25 +00:00
vfs: close directory handle in node destructor
This commit is contained in:
parent
d1e0e460a1
commit
1556300ea6
@ -378,6 +378,8 @@ struct Vfs_server::Directory : Node
|
||||
_handle->context = this;
|
||||
}
|
||||
|
||||
~Directory() { _handle->ds().close(_handle); }
|
||||
|
||||
Node_space::Id file(Node_space &space,
|
||||
Vfs::File_system &vfs,
|
||||
Genode::Allocator &alloc,
|
||||
|
Loading…
Reference in New Issue
Block a user