diff plugins/MFCCPlugin.cpp @ 95:e51152b7ee06

* Fixes to problems shown by vamp-plugin-tester
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 23 Mar 2009 16:29:12 +0000
parents a99c43f470a5
children 4a354c18e688
line wrap: on
line diff
--- a/plugins/MFCCPlugin.cpp	Tue Mar 17 15:20:40 2009 +0000
+++ b/plugins/MFCCPlugin.cpp	Mon Mar 23 16:29:12 2009 +0000
@@ -173,8 +173,8 @@
     if (channels < getMinChannelCount() ||
 	channels > getMaxChannelCount()) return false;
 
-    std::cerr << "MFCCPlugin::initialise: step " << stepSize << ", block "
-	      << blockSize << std::endl;
+//    std::cerr << "MFCCPlugin::initialise: step " << stepSize << ", block "
+//	      << blockSize << std::endl;
 
     m_step = stepSize;
     m_block = blockSize;
@@ -281,6 +281,8 @@
     feature.label = "";
     ++m_count;
 
+    delete[] output;
+
     FeatureSet returnFeatures;
     returnFeatures[0].push_back(feature);
     return returnFeatures;