aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-18 01:00:23 +0000
committerDavid Robillard <d@drobilla.net>2011-12-18 01:00:23 +0000
commit249cd445b6fd0fbb99da90b6b84d1a875b297fcf (patch)
tree74c4c3f2c96c3d30a9ffc83707d78e5c022202df
parente5a90b60c1cc62c782ac6b63025696dda95dae38 (diff)
downloadjalv-249cd445b6fd0fbb99da90b6b84d1a875b297fcf.tar.gz
jalv-249cd445b6fd0fbb99da90b6b84d1a875b297fcf.tar.bz2
jalv-249cd445b6fd0fbb99da90b6b84d1a875b297fcf.zip
Destroy UI before plugin instance.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@3881 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 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);