changeset 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 a5e0d1068cae
children 3086876472dc
files data/fileio/WavFileReader.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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