comparison 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
comparison
equal deleted inserted replaced
563:a5e0d1068cae 564:ecef2f1bec18
63 } 63 }
64 64
65 WavFileReader::~WavFileReader() 65 WavFileReader::~WavFileReader()
66 { 66 {
67 if (m_file) sf_close(m_file); 67 if (m_file) sf_close(m_file);
68 delete[] m_buffer;
68 } 69 }
69 70
70 void 71 void
71 WavFileReader::updateFrameCount() 72 WavFileReader::updateFrameCount()
72 { 73 {