mirror of
https://github.com/Tha14/toxic.git
synced 2025-09-23 01:06:52 +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