=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/popup.c,v retrieving revision 1.42 retrieving revision 1.43 diff -c -r1.42 -r1.43 *** src/usr.bin/tmux/popup.c 2021/10/25 09:38:36 1.42 --- src/usr.bin/tmux/popup.c 2022/01/17 10:40:03 1.43 *************** *** 1,4 **** ! /* $OpenBSD: popup.c,v 1.42 2021/10/25 09:38:36 nicm Exp $ */ /* * Copyright (c) 2020 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: popup.c,v 1.43 2022/01/17 10:40:03 nicm Exp $ */ /* * Copyright (c) 2020 Nicholas Marriott *************** *** 668,674 **** pd = xcalloc(1, sizeof *pd); pd->item = item; pd->flags = flags; ! pd->title = xstrdup(title); pd->c = c; pd->c->references++; --- 668,675 ---- pd = xcalloc(1, sizeof *pd); pd->item = item; pd->flags = flags; ! if (title != NULL) ! pd->title = xstrdup(title); pd->c = c; pd->c->references++;