empathy r2216 - trunk/libempathy



Author: xclaesse
Date: Fri Jan  9 16:16:55 2009
New Revision: 2216
URL: http://svn.gnome.org/viewvc/empathy?rev=2216&view=rev

Log:
mission_control_get_tpconnection returns a new ref, don't forget to unref the connection.

Modified:
   trunk/libempathy/empathy-dispatcher.c

Modified: trunk/libempathy/empathy-dispatcher.c
==============================================================================
--- trunk/libempathy/empathy-dispatcher.c	(original)
+++ trunk/libempathy/empathy-dispatcher.c	Fri Jan  9 16:16:55 2009
@@ -795,6 +795,8 @@
 
   tp_connection_call_when_ready (connection, dispatcher_connection_ready_cb,
     dispatcher);
+
+  g_object_unref (connection);
 }
 
 static void



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