From 308374bd26ec9bb4fe7854ea55e8de84c040b4fe Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 1 Apr 2012 19:10:36 +0000 Subject: Fix crash with plugins without a worker interface. git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@4139 a436a847-0d15-0410-975c-d299462d15a1 --- src/jalv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.1