mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-29 08:16:45 +02:00
Fixing couple leaking file descriptors
This commit is contained in:
@ -284,6 +284,8 @@ int dir_match(ToxWindow *self, Tox *m, const wchar_t *line, const wchar_t *cmd)
|
||||
}
|
||||
}
|
||||
|
||||
closedir(dp);
|
||||
|
||||
if (dircount == 0)
|
||||
return -1;
|
||||
|
||||
|
Reference in New Issue
Block a user