mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-13 16:39:43 -05:00
forced closedir in order to avoid leak of file descriptor in FolderIterator
This commit is contained in:
parent
0cc4ebd89c
commit
9f76b7601a
@ -150,9 +150,6 @@ uint8_t FolderIterator::file_type() { return mType ; }
|
||||
|
||||
bool FolderIterator::closedir()
|
||||
{
|
||||
if(!validity)
|
||||
return false;
|
||||
|
||||
validity = false;
|
||||
|
||||
#ifdef WINDOWS_SYS
|
||||
|
Loading…
Reference in New Issue
Block a user