summaryrefslogtreecommitdiff
path: root/lv2
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-05-11 14:54:07 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-05-11 14:54:07 +0200
commit84e358d1651150098cf88c50790edf87e6e1b61d (patch)
treeb527b096a59191d2d7a1b8fac481c08c1cc945be /lv2
parentc55ef6239483189258822eb5c25a410ba2825e65 (diff)
Fix crash on gui close.
Diffstat (limited to 'lv2')
-rw-r--r--lv2/lv2_gui.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lv2/lv2_gui.cc b/lv2/lv2_gui.cc
index 0242dcf..7df912d 100644
--- a/lv2/lv2_gui.cc
+++ b/lv2/lv2_gui.cc
@@ -202,6 +202,7 @@ static void ui_cleanup(LV2UI_Handle ui)
{
struct DG_GUI* pt = (struct DG_GUI*)ui;
delete pt->gui;
+ pr->gui = NULL;
delete pt;
}