Missing closedir with opendir

pull/1522/head
Nghia Ho 11 years ago
parent 178f0272fe
commit b9e542e35e
  1. 2
      samples/cpp/latentsvm_multidetect.cpp

@ -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…
Cancel
Save