mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 15:02:25 +00:00
LibC socket FS: Fix leak of remote and local files
This commit is contained in:
parent
1df4e53cba
commit
222a789fef
@ -82,7 +82,9 @@ namespace {
|
||||
|
||||
~Socket_context()
|
||||
{
|
||||
if (_data_fd != -1) close(_data_fd);
|
||||
if (_data_fd != -1) close(_data_fd);
|
||||
if (_local_fd != -1) close(_local_fd);
|
||||
if (_remote_fd != -1) close(_remote_fd);
|
||||
}
|
||||
|
||||
int _open_file(char const *file_name)
|
||||
|
Loading…
Reference in New Issue
Block a user