diff options
author | nicm <nicm> | 2023-03-15 19:23:22 +0000 |
---|---|---|
committer | nicm <nicm> | 2023-03-15 19:23:22 +0000 |
commit | a9ac61469175e45c8ba58ae0360306aa06c0cd59 (patch) | |
tree | 868b661b2f569511f845f08517689b4f743ea1d0 /popup.c | |
parent | ac4bb89d4355a7a9bd2abe4cb27b31a445f7cd99 (diff) |
Do not leak screen in popups, GitHub issue 3492.
Diffstat (limited to 'popup.c')
-rw-r--r-- | popup.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |