empathy r832 - trunk/libempathy



Author: xclaesse
Date: Wed Apr  2 10:41:30 2008
New Revision: 832
URL: http://svn.gnome.org/viewvc/empathy?rev=832&view=rev

Log:
Fix leaks in finalize


Modified:
   trunk/libempathy/empathy-tp-chat.c

Modified: trunk/libempathy/empathy-tp-chat.c
==============================================================================
--- trunk/libempathy/empathy-tp-chat.c	(original)
+++ trunk/libempathy/empathy-tp-chat.c	Wed Apr  2 10:41:30 2008
@@ -758,6 +758,13 @@
 		g_ptr_array_free (priv->properties, TRUE);
 	}
 
+	if (priv->initiator) {
+		g_object_unref (priv->initiator);
+	}
+	if (priv->group) {
+		g_object_unref (priv->group);
+	}
+
 	g_object_unref (priv->factory);
 	g_object_unref (priv->user);
 	g_object_unref (priv->account);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]