From 249cd445b6fd0fbb99da90b6b84d1a875b297fcf Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 18 Dec 2011 01:00:23 +0000 Subject: Destroy UI before plugin instance. git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@3881 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 743f1dc..e957579 100644 --- a/src/jalv.c +++ b/src/jalv.c @@ -745,6 +745,7 @@ main(int argc, char** argv) jack_client_close(host.jack_client); /* Deactivate plugin */ + suil_instance_free(host.ui_instance); lilv_instance_deactivate(host.instance); lilv_instance_free(host.instance); @@ -765,7 +766,6 @@ main(int argc, char** argv) lilv_node_free(host.label_pred); lilv_node_free(host.optional); symap_free(host.symap); - suil_instance_free(host.ui_instance); suil_host_free(ui_host); lilv_world_free(world); -- cgit v1.2.1