mirror of
https://github.com/tmux/tmux.git
synced 2024-12-26 03:19:16 +00:00
Do not try to strdup NULL, from seL4 at disroot dot org in GitHub issue
3038.
This commit is contained in:
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
Block a user