From 4f3b1c138451c622204bfbc77467ac4d247b035a Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Fri, 15 May 2009 18:37:58 +0200 Subject: Unref the EmpathyTpContactFactory --- src/empathy-event-manager.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/empathy-event-manager.c') diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c index c8749bc46..abdd6db8b 100644 --- a/src/empathy-event-manager.c +++ b/src/empathy-event-manager.c @@ -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)) -- cgit v1.2.3