changeset 317:abfde177731f tonioni

Free, not delete
author Chris Cannam
date Thu, 09 Jan 2014 14:14:02 +0000
parents e86596839f27
children 8611eb7be689
files audioio/ClipMixer.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/audioio/ClipMixer.cpp	Thu Jan 09 09:18:26 2014 +0000
+++ b/audioio/ClipMixer.cpp	Thu Jan 09 14:14:02 2014 +0000
@@ -30,7 +30,7 @@
 
 ClipMixer::~ClipMixer()
 {
-    delete[] m_clipData;
+    if (m_clipData) free(m_clipData);
 }
 
 void