diff options
Diffstat (limited to 'src/jalv.c')
-rw-r--r-- | src/jalv.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -574,8 +574,10 @@ main(int argc, char** argv) /* Clean up */ free(host.ports); - jack_ringbuffer_free(host.ui_events); - jack_ringbuffer_free(host.plugin_events); + if (host.ui) { + jack_ringbuffer_free(host.ui_events); + jack_ringbuffer_free(host.plugin_events); + } lilv_node_free(native_ui_type); lilv_node_free(host.input_class); lilv_node_free(host.output_class); |