Skip to content

[45] clutter: Fix memory leak when running in fullscreen

Robert Balas requested to merge bluew/mutter:fix-memleak-direct-scanout into gnome-45

clutter_stage_do_paint_view() only gets called when leaving fullscreen and by that time enough calls to clutter_actor_get_transformed_paint_volume() can make the underlying GArray grow to a large size.

To fix this, we call call the cleanup function in clutter_stage_finish_layout() to make it happen every frame.

Co-authored-by: Sebastian Keller skeller@gnome.org

Closes: #3191 (closed)

Merge request reports