mirror of https://github.com/tmux/tmux.git
Do not try to strdup NULL, from seL4 at disroot dot org in GitHub issue
3038.pull/3022/head
parent
b2b94dcba7
commit
a6b361e775
1
popup.c
1
popup.c
|
@ -668,6 +668,7 @@ popup_display(int flags, enum box_lines lines, struct cmdq_item *item, u_int px,
|
||||||
pd = xcalloc(1, sizeof *pd);
|
pd = xcalloc(1, sizeof *pd);
|
||||||
pd->item = item;
|
pd->item = item;
|
||||||
pd->flags = flags;
|
pd->flags = flags;
|
||||||
|
if (title != NULL)
|
||||||
pd->title = xstrdup(title);
|
pd->title = xstrdup(title);
|
||||||
|
|
||||||
pd->c = c;
|
pd->c = c;
|
||||||
|
|
Loading…
Reference in New Issue