Skip to content

Commit

Permalink
renderer/command_builder: fix leak of frame region
Browse files Browse the repository at this point in the history
Signed-off-by: Yuxuan Shui <[email protected]>
  • Loading branch information
yshui committed May 4, 2024
1 parent 52bca36 commit 1746473
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/command_builder.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1746473

Please sign in to comment.