diff options
author | David Robillard <d@drobilla.net> | 2012-05-12 06:21:23 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-12 06:21:23 +0000 |
commit | 2e8a9b483a8d2ca7ba2a4feb4a845a32ab1eebeb (patch) | |
tree | 840b53a3be7071123718281c1ad62258fb6cb5f4 /src/server/events | |
parent | 1d9bb9768f8a7d0c76fa33688051cd8f2715075d (diff) | |
download | ingen-2e8a9b483a8d2ca7ba2a4feb4a845a32ab1eebeb.tar.gz ingen-2e8a9b483a8d2ca7ba2a4feb4a845a32ab1eebeb.tar.bz2 ingen-2e8a9b483a8d2ca7ba2a4feb4a845a32ab1eebeb.zip |
Fix memory errors when running as LV2 plugin.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4375 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/events')
-rw-r--r-- | src/server/events/SetMetadata.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/events/SetMetadata.cpp b/src/server/events/SetMetadata.cpp index 5849269a..15ed26cc 100644 --- a/src/server/events/SetMetadata.cpp +++ b/src/server/events/SetMetadata.cpp @@ -317,9 +317,9 @@ SetMetadata::execute(ProcessContext& context) break; case POLYPHONY: if (_patch->internal_poly() != static_cast<uint32_t>(value.get_int32()) && - !_patch->apply_internal_poly(_engine.process_context(), - *_engine.buffer_factory(), - *_engine.maid(), value.get_int32())) { + !_patch->apply_internal_poly(context, + *_engine.buffer_factory(), + *_engine.maid(), value.get_int32())) { _status = INTERNAL_ERROR; } break; |