[Sv1-commits] SF.net SVN: sv1:[1384] sonic-annotator/trunk/runner/ FeatureExtractionManager.cpp
Brought to you by:
cannam
From: <ca...@us...> - 2008-12-12 15:33:59
|
Revision: 1384 http://sv1.svn.sourceforge.net/sv1/?rev=1384&view=rev Author: cannam Date: 2008-12-12 15:33:55 +0000 (Fri, 12 Dec 2008) Log Message: ----------- * Delete reader after use! Modified Paths: -------------- sonic-annotator/trunk/runner/FeatureExtractionManager.cpp Modified: sonic-annotator/trunk/runner/FeatureExtractionManager.cpp =================================================================== --- sonic-annotator/trunk/runner/FeatureExtractionManager.cpp 2008-12-12 15:33:28 UTC (rev 1383) +++ sonic-annotator/trunk/runner/FeatureExtractionManager.cpp 2008-12-12 15:33:55 UTC (rev 1384) @@ -254,8 +254,7 @@ m_pluginOutputIndices[outputs[i].identifier] = i; } - cerr << "NOTE: Loaded and initialised plugin " << plugin - << " for transform \"" + cerr << "NOTE: Loaded and initialised plugin for transform \"" << transform.getIdentifier().toStdString() << "\"" << endl; } else { @@ -572,6 +571,8 @@ progress = int(((i - startFrame) * 100.0) / (endFrame - startFrame) + 0.1); if (progress > pp) extractionProgress.setProgress(progress); } + + delete reader; for (PluginMap::iterator pi = m_plugins.begin(); pi != m_plugins.end(); ++pi) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |