mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 15:59:31 +02:00
tests: fix all leaks in surface-test
Fixes all ASan reported leaks. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
4f515a1da7
commit
b982676213
1 changed files with 3 additions and 0 deletions
|
|
@ -68,4 +68,7 @@ PLUGIN_TEST(surface_transform)
|
|||
weston_view_update_transform(view);
|
||||
weston_view_to_global_float(view, 50, 40, &x, &y);
|
||||
assert(x == 200 && y == 340);
|
||||
|
||||
/* Destroys all views too. */
|
||||
weston_surface_destroy(surface);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue