[gdm/gnome-3-18] session: free conversation hash when disposing session
- From: Tim Lunn <timl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/gnome-3-18] session: free conversation hash when disposing session
- Date: Thu, 14 Apr 2016 07:01:29 +0000 (UTC)
commit b1f579ce773e9d557a2b92245b41a0e47fd45987
Author: Ray Strode <rstrode redhat com>
Date: Fri Jan 22 16:01:20 2016 -0500
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
daemon/gdm-session.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
index 46e3b18..d427bfc 100644
--- a/daemon/gdm-session.c
+++ b/daemon/gdm-session.c
@@ -3343,6 +3343,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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]