diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-05-11 14:54:07 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-05-11 14:54:07 +0200 |
commit | 84e358d1651150098cf88c50790edf87e6e1b61d (patch) | |
tree | b527b096a59191d2d7a1b8fac481c08c1cc945be /lv2 | |
parent | c55ef6239483189258822eb5c25a410ba2825e65 (diff) |
Fix crash on gui close.
Diffstat (limited to 'lv2')
-rw-r--r-- | lv2/lv2_gui.cc | 1 |
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; } |