aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test-compositor.h
diff options
context:
space:
mode:
authorDerek Foreman <derek.foreman@collabora.com>2021-08-26 14:50:59 -0500
committerDerek Foreman <derek.foreman@collabora.com>2021-08-27 09:56:17 -0500
commitbf98c1a8f2872d3da2be895d9a7f56ada65d43d5 (patch)
treefe12d328907878d5f17a9da6d5af5b2d3fdf2c2c /tests/test-compositor.h
parentconnection: Rename wl_buffer (diff)
downloadwayland-bf98c1a8f2872d3da2be895d9a7f56ada65d43d5.tar
wayland-bf98c1a8f2872d3da2be895d9a7f56ada65d43d5.tar.gz
wayland-bf98c1a8f2872d3da2be895d9a7f56ada65d43d5.tar.bz2
wayland-bf98c1a8f2872d3da2be895d9a7f56ada65d43d5.tar.lz
wayland-bf98c1a8f2872d3da2be895d9a7f56ada65d43d5.tar.xz
wayland-bf98c1a8f2872d3da2be895d9a7f56ada65d43d5.tar.zst
wayland-bf98c1a8f2872d3da2be895d9a7f56ada65d43d5.zip
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>
Diffstat (limited to 'tests/test-compositor.h')
-rw-r--r--tests/test-compositor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-compositor.h b/tests/test-compositor.h
index 180dad2..f763fef 100644
--- a/tests/test-compositor.h
+++ b/tests/test-compositor.h
@@ -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;