From a9ac61469175e45c8ba58ae0360306aa06c0cd59 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 15 Mar 2023 19:23:22 +0000 Subject: Do not leak screen in popups, GitHub issue 3492. --- popup.c | 1 + 1 file changed, 1 insertion(+) (limited to 'popup.c') diff --git a/popup.c b/popup.c index 250888a8..33325ab2 100644 --- a/popup.c +++ b/popup.c @@ -253,6 +253,7 @@ popup_draw_cb(struct client *c, void *data, struct screen_redraw_ctx *rctx) 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; -- cgit v1.2.3