summaryrefslogtreecommitdiff
path: root/daemon/gdm-session.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2016-01-22 16:01:20 -0500
committerRay Strode <rstrode@redhat.com>2016-01-22 16:06:13 -0500
commit4788e92428a40517464e6e50ed15d2155a023afc (patch)
treeaf7e59fc701f8504a2005aa7a2b5a01172adb735 /daemon/gdm-session.c
parent0254f3371039e6fa02bde373d08666c1a5272efb (diff)
downloadgdm-4788e92428a40517464e6e50ed15d2155a023afc.tar.gz
session: free conversation hash when disposing session
We're currently leaking the hash table when disposing the session, this commit fixes that. https://bugzilla.gnome.org/show_bug.cgi?id=754814
Diffstat (limited to 'daemon/gdm-session.c')
-rw-r--r--daemon/gdm-session.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
index 1d857d39..c230dae5 100644
--- a/daemon/gdm-session.c
+++ b/daemon/gdm-session.c
@@ -3387,6 +3387,9 @@ gdm_session_dispose (GObject *object)
gdm_session_close (self);
+ g_clear_pointer (&self->priv->conversations,
+ g_hash_table_unref);
+
g_clear_object (&self->priv->user_verifier_interface);
g_clear_object (&self->priv->greeter_interface);
g_clear_object (&self->priv->chooser_interface);