aboutsummaryrefslogtreecommitdiff
path: root/chaos/src/chaos_dsp.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'chaos/src/chaos_dsp.hpp')
-rw-r--r--chaos/src/chaos_dsp.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/chaos/src/chaos_dsp.hpp b/chaos/src/chaos_dsp.hpp
index 78c4130..e86fc30 100644
--- a/chaos/src/chaos_dsp.hpp
+++ b/chaos/src/chaos_dsp.hpp
@@ -236,11 +236,11 @@ SYSTEM##_dsp(int argc, t_atom* argv ) \
~SYSTEM##_dsp() \
{ \
delete m_system; \
- delete m_values; \
- delete m_slopes; \
- delete m_nextvalues; \
- delete m_nextmidpts; \
- delete m_curves; \
+ delete[] m_values; \
+ delete[] m_slopes; \
+ delete[] m_nextvalues; \
+ delete[] m_nextmidpts; \
+ delete[] m_curves; \
} \
\
FLEXT_ATTRVAR_F(m_freq); \