summaryrefslogtreecommitdiff
path: root/synth/note.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'synth/note.cpp')
-rw-r--r--synth/note.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/synth/note.cpp b/synth/note.cpp
index 2f192f2..a0d6226 100644
--- a/synth/note.cpp
+++ b/synth/note.cpp
@@ -393,3 +393,8 @@ fixed_t Note::get_sample()
return out;
}
}
+
+void Note::destroy()
+{
+ delete this;
+}