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:
Pekka Paalanen 2021-06-18 13:05:08 +03:00
parent 54ea691b99
commit 56a8d69b0e

View file

@ -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);
}