diff data/fileio/WavFileReader.cpp @ 564:ecef2f1bec18

* fix memory leak (thanks Luis, #2628201) * fix qmake for 64-bit linux (thanks Michel, #2430266)
author Chris Cannam
date Tue, 24 Feb 2009 11:39:45 +0000
parents 166c22eff678
children bd527db65d20
line wrap: on
line diff
--- a/data/fileio/WavFileReader.cpp	Mon Feb 23 19:08:58 2009 +0000
+++ b/data/fileio/WavFileReader.cpp	Tue Feb 24 11:39:45 2009 +0000
@@ -65,6 +65,7 @@
 WavFileReader::~WavFileReader()
 {
     if (m_file) sf_close(m_file);
+    delete[] m_buffer;
 }
 
 void