summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-03-13 23:19:31 +0000
committerDavid Robillard <d@drobilla.net>2015-03-13 23:19:31 +0000
commit21658d82b0a706c82ce71f06f3d7ce6df16fd146 (patch)
tree85437287f41b1dad3c79b0a5e5da51fba176e093 /src
parent44d647336e2f36ac6e2b1390b342b1fbe5695106 (diff)
downloadingen-21658d82b0a706c82ce71f06f3d7ce6df16fd146.tar.gz
ingen-21658d82b0a706c82ce71f06f3d7ce6df16fd146.tar.bz2
ingen-21658d82b0a706c82ce71f06f3d7ce6df16fd146.zip
Fix crash on LV2 destruction.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5629 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/server/ingen_lv2.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp
index 7a90c35f..6aa7bfc4 100644
--- a/src/server/ingen_lv2.cpp
+++ b/src/server/ingen_lv2.cpp
@@ -678,8 +678,10 @@ ingen_cleanup(LV2_Handle instance)
me->main->join();
delete me->main;
}
- delete me->world;
+
+ World* world = me->world;
delete me;
+ delete world;
}
static void