aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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))