mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Key needs to be initialized to zero now it has flags in it.
This commit is contained in:
@ -100,7 +100,7 @@ key_bindings_add(const char *name, key_code key, int repeat,
|
||||
free(bd);
|
||||
}
|
||||
|
||||
bd = xmalloc(sizeof *bd);
|
||||
bd = xcalloc(1, sizeof *bd);
|
||||
bd->key = key;
|
||||
RB_INSERT(key_bindings, &table->key_bindings, bd);
|
||||
|
||||
|
Reference in New Issue
Block a user