summaryrefslogtreecommitdiff
path: root/src/gui/gui-bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui-bar.c')
-rw-r--r--src/gui/gui-bar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/gui-bar.c b/src/gui/gui-bar.c
index 0cfa99798..85f5f3603 100644
--- a/src/gui/gui-bar.c
+++ b/src/gui/gui-bar.c
@@ -159,6 +159,7 @@ gui_bar_new (struct t_weechat_plugin *plugin, char *name, char *type,
new_bar->items_count = 0;
new_bar->items_array = NULL;
}
+ new_bar->bar_window = NULL;
if (type_value == GUI_BAR_TYPE_ROOT)
{