mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
forced closedir in order to avoid leak of file descriptor in FolderIterator
This commit is contained in:
parent
0cc4ebd89c
commit
9f76b7601a
1 changed files with 0 additions and 3 deletions
|
@ -150,9 +150,6 @@ uint8_t FolderIterator::file_type() { return mType ; }
|
|||
|
||||
bool FolderIterator::closedir()
|
||||
{
|
||||
if(!validity)
|
||||
return false;
|
||||
|
||||
validity = false;
|
||||
|
||||
#ifdef WINDOWS_SYS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue