aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--liberty-xui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/liberty-xui.c b/liberty-xui.c
index ca7fa88..160c6a3 100644
--- a/liberty-xui.c
+++ b/liberty-xui.c
@@ -3099,6 +3099,7 @@ xui_stop (void)
g_xui.ui->destroy ();
LIST_FOR_EACH (struct widget, w, g_xui.widgets)
widget_destroy (w);
+ g_xui.widgets = NULL;
termo_destroy (g_xui.tk);
}