mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 06:38:09 +02:00
tests: fix all leaks in text-test
Fix all ASan reported leaks. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
54ea691b99
commit
56a8d69b0e
1 changed files with 4 additions and 0 deletions
|
|
@ -231,4 +231,8 @@ TEST(text_test)
|
|||
weston_test_activate_surface(client->test->weston_test, NULL);
|
||||
client_roundtrip(client);
|
||||
assert(state.activated == 2 && state.deactivated == 2);
|
||||
|
||||
zwp_text_input_v1_destroy(text_input);
|
||||
zwp_text_input_manager_v1_destroy(factory);
|
||||
client_destroy(client);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue