module/xkb: initialize indicators

This fixes a bug where we tried to free invalid indicator names.
This commit is contained in:
Daniel Eklöf 2019-01-27 22:05:00 +01:00
parent 452c4b6015
commit 8d1afd027b

View file

@ -647,6 +647,8 @@ xkb_new(struct particle *label)
m->current = 0;
m->layouts.count = 0;
m->layouts.layouts = NULL;
m->indicators.count = 0;
m->indicators.names = NULL;
m->caps_lock = false;
m->num_lock = false;
m->scroll_lock = false;