Skip to content

tests/mtk/region: Fix `MtkRectangle` leak

Barnabás Pőcze requested to merge pobrn/mutter:fix_test_memleak into main
`mtk_rectangle_new()` allocates the object dynamically,
but in the "contains-point" test case the allocated object
was not freed. Fix that by creating the object on the stack.

Merge request reports