]> git.0d.be Git - empathy.git/commitdiff
Unref the EmpathyTpContactFactory
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>
Fri, 15 May 2009 16:37:58 +0000 (18:37 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 1 Jun 2009 15:53:18 +0000 (17:53 +0200)
src/empathy-event-manager.c

index c8749bc4674e67f19d2662e8cfad0f441efb8847..abdd6db8b5c80f84705ebaed4c60029c58d3819e 100644 (file)
@@ -877,6 +877,8 @@ event_manager_approve_channel_cb (EmpathyDispatcher *dispatcher,
       factory = empathy_tp_contact_factory_dup_singleton (connection);
       empathy_tp_contact_factory_get_from_handle (factory, handle,
         event_manager_ft_got_contact_cb, approval, NULL, G_OBJECT (manager));
+
+      g_object_unref (factory);
     }
   else if (!tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_STREAM_TUBE) ||
       !tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_DBUS_TUBE))