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;
|
_handle->context = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
~Directory() { _handle->ds().close(_handle); }
|
||||||
|
|
||||||
Node_space::Id file(Node_space &space,
|
Node_space::Id file(Node_space &space,
|
||||||
Vfs::File_system &vfs,
|
Vfs::File_system &vfs,
|
||||||
Genode::Allocator &alloc,
|
Genode::Allocator &alloc,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user