From 1746473a0b5ede8061e2069bc74e4e8c1b949b25 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Tue, 30 Apr 2024 01:39:44 +0100 Subject: [PATCH] renderer/command_builder: fix leak of frame region Signed-off-by: Yuxuan Shui --- src/renderer/command_builder.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/command_builder.c b/src/renderer/command_builder.c index 86640c1625..eed526bde0 100644 --- a/src/renderer/command_builder.c +++ b/src/renderer/command_builder.c @@ -409,6 +409,7 @@ void command_builder_build(struct command_builder *cb, struct layout *layout, cmd -= command_for_blur(layer, cmd, &frame_region, force_blend, blur_frame); layer->number_of_commands = (unsigned)(last - cmd); + pixman_region32_fini(&frame_region); } // Command for the desktop background