xwayland: Don't leak the launcher

This commit is contained in:
Jasper St. Pierre 2015-03-31 11:47:34 -07:00
parent dbca3337b2
commit 102fa0e373

View File

@ -436,7 +436,7 @@ meta_xwayland_start (MetaXWaylandManager *manager,
{ {
int xwayland_client_fd[2]; int xwayland_client_fd[2];
int displayfd[2]; int displayfd[2];
GSubprocessLauncher *launcher; g_autoptr(GSubprocessLauncher) launcher = NULL;
GSubprocessFlags flags; GSubprocessFlags flags;
GSubprocess *proc; GSubprocess *proc;
GError *error = NULL; GError *error = NULL;