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
@ -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…
x
Reference in New Issue
Block a user