Missing closedir with opendir
This commit is contained in:
parent
178f0272fe
commit
b9e542e35e
@ -96,6 +96,8 @@ static void readDirectory( const string& directoryName, vector<string>& filename
|
||||
else
|
||||
filenames.push_back( string(dent->d_name) );
|
||||
}
|
||||
|
||||
closedir( dir );
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user