summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2015-03-31 11:47:34 -0700
committerJasper St. Pierre <jstpierre@mecheye.net>2015-03-31 11:47:34 -0700
commit102fa0e3733ba8bac5febc541e4a5fa488adc7fd (patch)
tree0e1f283b705424b60778ebb89118c4d3b1ff12d5
parentdbca3337b2ce81cb13c58adb9c10d258cdc79f67 (diff)
xwayland: Don't leak the launcher
-rw-r--r--src/wayland/meta-xwayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wayland/meta-xwayland.c b/src/wayland/meta-xwayland.c
index 87369789..806614bc 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;