aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-01 19:10:36 +0000
committerDavid Robillard <d@drobilla.net>2012-04-01 19:10:36 +0000
commit308374bd26ec9bb4fe7854ea55e8de84c040b4fe (patch)
treebd9b353ea1178cde9967621bc445f5ab96f8ecce
parentb2a90e277a3b462f7c8682cd562c3ad55b5c062a (diff)
downloadjalv-308374bd26ec9bb4fe7854ea55e8de84c040b4fe.tar.gz
jalv-308374bd26ec9bb4fe7854ea55e8de84c040b4fe.tar.bz2
jalv-308374bd26ec9bb4fe7854ea55e8de84c040b4fe.zip
Fix crash with plugins without a worker interface.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@4139 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/jalv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jalv.c b/src/jalv.c
index d01581d..a2b8b86 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -433,7 +433,7 @@ jack_process_cb(jack_nframes_t nframes, void* data)
jalv_worker_emit_responses(host, &host->worker);
/* Notify the plugin the run() cycle is finished */
- if (host->worker.iface->end_run) {
+ if (host->worker.iface && host->worker.iface->end_run) {
host->worker.iface->end_run(host->instance->lv2_handle);
}