From eee4efef68131e4769776e66fcef98225ebfaae7 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Tue, 10 Jan 2023 11:44:45 +0200 Subject: [PATCH] fullscreen-shell: Plug in a curtain leak on output destruction The curtain we're creating wasn't destroyed so plug that mem leak. Signed-off-by: Marius Vlad --- fullscreen-shell/fullscreen-shell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fullscreen-shell/fullscreen-shell.c b/fullscreen-shell/fullscreen-shell.c index 552e9316..821cf54c 100644 --- a/fullscreen-shell/fullscreen-shell.c +++ b/fullscreen-shell/fullscreen-shell.c @@ -263,6 +263,7 @@ fs_output_destroy(struct fs_output *fsout) fs_output_set_surface(fsout, NULL, 0, 0, 0); fs_output_clear_pending(fsout); + weston_shell_utils_curtain_destroy(fsout->curtain); wl_list_remove(&fsout->link); if (fsout->output)