diff music2/wavfile.cc @ 8:55b577e5f5b5

Some memory leaks fixed
author thib
date Tue, 05 Aug 2008 12:56:51 +0000
parents fa8511a21d05
children 3a6aaeab7b4e
line wrap: on
line diff
--- a/music2/wavfile.cc
+++ b/music2/wavfile.cc
@@ -356,6 +356,7 @@ WAVFILE_Converter::~WAVFILE_Converter() 
 		delete cvt;
 		cvt = 0;
 	}
+	delete[] tmpbuf;
 	if (original) delete original;
 	original = 0;
 }