mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 13:38:05 +02:00
tests: fix all leaks in surface-global-test
Fix all ASan reported leaks. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
b982676213
commit
54ea691b99
1 changed files with 3 additions and 0 deletions
|
|
@ -88,4 +88,7 @@ PLUGIN_TEST(surface_to_from_global)
|
|||
|
||||
weston_view_from_global(view, 5, 10, &ix, &iy);
|
||||
assert(ix == 0 && iy == 0);
|
||||
|
||||
/* Destroys all views too. */
|
||||
weston_surface_destroy(surface);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue