diff options
author | David Robillard <d@drobilla.net> | 2012-07-06 22:11:55 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-07-06 22:11:55 +0000 |
commit | a9920a0fc118ff4ac0dbbc51085592a3eac97a30 (patch) | |
tree | ed96dce51754a87cc2589aa8a7e5daa5a31fe32d /src/server | |
parent | 4f6a07c90866825ac15e146c459034006bf9338c (diff) | |
download | ingen-a9920a0fc118ff4ac0dbbc51085592a3eac97a30.tar.gz ingen-a9920a0fc118ff4ac0dbbc51085592a3eac97a30.tar.bz2 ingen-a9920a0fc118ff4ac0dbbc51085592a3eac97a30.zip |
Fix crash when instantiating plugins with worker interface.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4509 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/LV2Node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/LV2Node.cpp b/src/server/LV2Node.cpp index fa2f23e0..0ee5c500 100644 --- a/src/server/LV2Node.cpp +++ b/src/server/LV2Node.cpp @@ -388,7 +388,7 @@ LV2Node::instantiate(BufferFactory& bufs) if (lilv_plugin_has_feature(plug, info->work_schedule)) { _worker_iface = (LV2_Worker_Interface*) lilv_instance_get_extension_data( - (LilvInstance*)(*_prepared_instances)[0].get(), + (LilvInstance*)(*_instances)[0].get(), LV2_WORKER__interface); } |