diff --git a/src/wayland/meta-wayland-client.c b/src/wayland/meta-wayland-client.c index bba7ee1f8..01aa4c328 100644 --- a/src/wayland/meta-wayland-client.c +++ b/src/wayland/meta-wayland-client.c @@ -129,7 +129,7 @@ meta_wayland_client_new (GSubprocessLauncher *launcher, } client = g_object_new (META_TYPE_WAYLAND_CLIENT, NULL); - client->launcher = launcher; + client->launcher = g_object_ref (launcher); return client; }