tests: fix all leaks in text-test

Fix all ASan reported leaks.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
dev
Pekka Paalanen 3 years ago
parent 54ea691b99
commit 56a8d69b0e
  1. 4
      tests/text-test.c

@ -231,4 +231,8 @@ TEST(text_test)
weston_test_activate_surface(client->test->weston_test, NULL); weston_test_activate_surface(client->test->weston_test, NULL);
client_roundtrip(client); client_roundtrip(client);
assert(state.activated == 2 && state.deactivated == 2); 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…
Cancel
Save