Missing closedir with opendir

This commit is contained in:
Nghia Ho 2013-09-28 21:46:48 +10:00
parent 178f0272fe
commit b9e542e35e

View File

@ -96,6 +96,8 @@ static void readDirectory( const string& directoryName, vector<string>& filename
else else
filenames.push_back( string(dent->d_name) ); filenames.push_back( string(dent->d_name) );
} }
closedir( dir );
} }
#endif #endif