tests: Destroy custom global object

Destroy our custom global object at end of run so we no longer "leak"
it.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman 2021-08-26 14:50:59 -05:00
parent f736f11f99
commit bf98c1a8f2
2 changed files with 6 additions and 4 deletions

View file

@ -46,6 +46,7 @@ struct client_info {
struct display {
struct wl_display *wl_display;
struct wl_global *test_global;
struct wl_list clients;
uint32_t clients_no;