From a9920a0fc118ff4ac0dbbc51085592a3eac97a30 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 6 Jul 2012 22:11:55 +0000 Subject: Fix crash when instantiating plugins with worker interface. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4509 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/LV2Node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.1