event_manager_approve_channel_cb: empathy_tp_chat_get_account doesn't ref the object
authorGuillaume Desmottes <gdesmott@gnome.org>
Fri, 13 Feb 2009 10:26:15 +0000 (10:26 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 13 Feb 2009 10:26:15 +0000 (10:26 +0000)
From: Guillaume Desmottes <gdesmott@gnome.org>

svn path=/trunk/; revision=2454

src/empathy-event-manager.c

index b4434430e3d364d4c41dab8ca67b538b87f3ce1e..ef9248647d6fd3bb234c094c3a4625446c77f211 100644 (file)
@@ -820,7 +820,6 @@ event_manager_approve_channel_cb (EmpathyDispatcher *dispatcher,
             G_OBJECT (manager));
 
           g_object_unref (contact_factory);
-          g_object_unref (account);
         }
     }
   else if (!tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA))