aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-05-16 00:37:58 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:53:18 +0800
commit4f3b1c138451c622204bfbc77467ac4d247b035a (patch)
tree83168cc5fc7ebf20c924571f0c4228bf260a7bdc /src
parent78fac00f23704f8233c79c7b79ee0c7a8e133c2d (diff)
downloadgsoc2013-empathy-4f3b1c138451c622204bfbc77467ac4d247b035a.tar
gsoc2013-empathy-4f3b1c138451c622204bfbc77467ac4d247b035a.tar.gz
gsoc2013-empathy-4f3b1c138451c622204bfbc77467ac4d247b035a.tar.bz2
gsoc2013-empathy-4f3b1c138451c622204bfbc77467ac4d247b035a.tar.lz
gsoc2013-empathy-4f3b1c138451c622204bfbc77467ac4d247b035a.tar.xz
gsoc2013-empathy-4f3b1c138451c622204bfbc77467ac4d247b035a.tar.zst
gsoc2013-empathy-4f3b1c138451c622204bfbc77467ac4d247b035a.zip
Unref the EmpathyTpContactFactory
Diffstat (limited to 'src')
-rw-r--r--src/empathy-event-manager.c2
1 files changed, 2 insertions, 0 deletions
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))