diff host/vamp-simple-host.cpp @ 46:2858c897d90f

* Fix a delete/delete[] mismatch
author cannam
date Thu, 30 Nov 2006 15:00:17 +0000
parents 39be57dd4eb7
children be8fdfe25693
line wrap: on
line diff
--- a/host/vamp-simple-host.cpp	Fri Nov 10 17:47:15 2006 +0000
+++ b/host/vamp-simple-host.cpp	Thu Nov 30 15:00:17 2006 +0000
@@ -467,8 +467,8 @@
         buffer[i * 2 + 1] = outbuf[i + size];
     }
     
-    delete inbuf;
-    delete outbuf;
+    delete[] inbuf;
+    delete[] outbuf;
 }
 
 void