diff options
-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; } |