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:
@@ -88,4 +88,7 @@ PLUGIN_TEST(surface_to_from_global)
|
|||||||
|
|
||||||
weston_view_from_global(view, 5, 10, &ix, &iy);
|
weston_view_from_global(view, 5, 10, &ix, &iy);
|
||||||
assert(ix == 0 && iy == 0);
|
assert(ix == 0 && iy == 0);
|
||||||
|
|
||||||
|
/* Destroys all views too. */
|
||||||
|
weston_surface_destroy(surface);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user