From 102fa0e3733ba8bac5febc541e4a5fa488adc7fd Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 31 Mar 2015 11:47:34 -0700 Subject: [PATCH] xwayland: Don't leak the launcher --- src/wayland/meta-xwayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/meta-xwayland.c b/src/wayland/meta-xwayland.c index 873697892..806614bc6 100644 --- a/src/wayland/meta-xwayland.c +++ b/src/wayland/meta-xwayland.c @@ -436,7 +436,7 @@ meta_xwayland_start (MetaXWaylandManager *manager, { int xwayland_client_fd[2]; int displayfd[2]; - GSubprocessLauncher *launcher; + g_autoptr(GSubprocessLauncher) launcher = NULL; GSubprocessFlags flags; GSubprocess *proc; GError *error = NULL;