aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-31 18:36:49 +0000
committerDavid Robillard <d@drobilla.net>2013-12-31 18:36:49 +0000
commit26fbcc6b929ae13d56e9ed4e9b7cb362fe4cef28 (patch)
tree04edd7f4890a8efca5b2ea9935708315c833bdec
parent45d31b52da05ce362794e84e259910d9c9c0512b (diff)
downloadjalv-26fbcc6b929ae13d56e9ed4e9b7cb362fe4cef28.tar.gz
jalv-26fbcc6b929ae13d56e9ed4e9b7cb362fe4cef28.tar.bz2
jalv-26fbcc6b929ae13d56e9ed4e9b7cb362fe4cef28.zip
Fix crash on plugins with MIDI ports.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5242 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 7ed0aef..e80f9f9 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -564,7 +564,7 @@ jack_process_cb(jack_nframes_t nframes, void* data)
if (port->flow == FLOW_OUTPUT && port->type == TYPE_EVENT) {
void* buf = NULL;
if (port->jack_port) {
- jack_port_get_buffer(port->jack_port, nframes);
+ buf = jack_port_get_buffer(port->jack_port, nframes);
jack_midi_clear_buffer(buf);
}