mirror of
https://github.com/opencv/opencv.git
synced 2026-07-28 23:03:03 +04:00
Missing closedir with opendir
This commit is contained in:
@@ -96,6 +96,8 @@ static void readDirectory( const string& directoryName, vector<string>& filename
|
||||
else
|
||||
filenames.push_back( string(dent->d_name) );
|
||||
}
|
||||
|
||||
closedir( dir );
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user