=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/popup.c,v retrieving revision 1.47 retrieving revision 1.48 diff -u -r1.47 -r1.48 --- src/usr.bin/tmux/popup.c 2023/01/20 21:36:00 1.47 +++ src/usr.bin/tmux/popup.c 2023/03/15 19:23:22 1.48 @@ -1,4 +1,4 @@ -/* $OpenBSD: popup.c,v 1.47 2023/01/20 21:36:00 nicm Exp $ */ +/* $OpenBSD: popup.c,v 1.48 2023/03/15 19:23:22 nicm Exp $ */ /* * Copyright (c) 2020 Nicholas Marriott @@ -253,6 +253,7 @@ tty_draw_line(tty, &s, 0, i, pd->sx, px, py + i, &defaults, palette); } + screen_free(&s); if (pd->md != NULL) { c->overlay_check = NULL; c->overlay_data = NULL;