summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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