Skip to content
Snippets Groups Projects
Commit b9826762 authored by Pekka Paalanen's avatar Pekka Paalanen
Browse files

tests: fix all leaks in surface-test


Fixes all ASan reported leaks.

Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
parent 4f515a1d
No related branches found
No related tags found
2 merge requests!905color-lcms: Introduction and implementation of LCMS plugin,!647More leak fixes in tests, reported by ASan
......@@ -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);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment