diff options
author | Ray Strode <rstrode@redhat.com> | 2016-02-05 10:42:20 -0500 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2016-02-05 10:42:20 -0500 |
commit | 7b9798030f13b3035403efd0b271f866ae4de53d (patch) | |
tree | d1f8e5aca2b0aa262325bc6ee587ee23be2e9a94 /daemon | |
parent | 99eeae91c1f11997521ad3bc016a7b2d23ec7942 (diff) | |
download | gdm-7b9798030f13b3035403efd0b271f866ae4de53d.tar.gz |
gdm-x-session: fix tiny leak in error path
I wasn't cleaning up the dbus connection in out: so
it leaked in an error path.
Spotted by Michael Catanzaro
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/gdm-x-session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gdm-x-session.c b/daemon/gdm-x-session.c index c01cc5ee..41e41184 100644 --- a/daemon/gdm-x-session.c +++ b/daemon/gdm-x-session.c @@ -496,10 +496,10 @@ spawn_bus (State *state, } g_variant_unref (reply); - g_clear_object (&connection); is_running = TRUE; out: + g_clear_object (&connection); g_clear_object (&data_stream); g_clear_object (&subprocess); g_clear_object (&launcher); |