[mutter] xwayland: Don't leak the launcher
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] xwayland: Don't leak the launcher
- Date: Tue, 31 Mar 2015 18:48:23 +0000 (UTC)
commit 102fa0e3733ba8bac5febc541e4a5fa488adc7fd
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Mar 31 11:47:34 2015 -0700
xwayland: Don't leak the launcher
src/wayland/meta-xwayland.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wayland/meta-xwayland.c b/src/wayland/meta-xwayland.c
index 8736978..806614b 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]