summaryrefslogtreecommitdiffstats
path: root/src/server/internals
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/internals')
-rw-r--r--src/server/internals/Note.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/internals/Note.cpp b/src/server/internals/Note.cpp
index c8d1be23..5f509859 100644
--- a/src/server/internals/Note.cpp
+++ b/src/server/internals/Note.cpp
@@ -125,7 +125,7 @@ NoteNode::apply_poly(ProcessContext& context, Raul::Maid& maid, uint32_t poly)
if (_prepared_voices) {
assert(_polyphony <= _prepared_voices->size());
- maid.push(_voices);
+ maid.dispose(_voices);
_voices = _prepared_voices;
_prepared_voices = NULL;
}