]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-call-factory.c
Merge branch 'sasl'
[empathy.git] / libempathy / empathy-call-factory.c
index 5f57f7c24b924a12d5164b8a0399130243ad7e2b..49bc60de9c0c5d6b65f683ecab42256d7ec7aa0b 100644 (file)
@@ -255,6 +255,7 @@ empathy_call_factory_new_call_with_streams (EmpathyContact *contact,
   tp_account_channel_request_create_channel_async (req, NULL, NULL,
       create_media_channel_cb, NULL);
 
+  g_hash_table_unref (request);
   g_object_unref (req);
 }
 
@@ -313,7 +314,7 @@ handle_channels_cb (TpSimpleHandler *handler,
           TP_IFACE_QUARK_CHANNEL_TYPE_STREAMED_MEDIA)
         continue;
 
-      call = empathy_tp_call_new (channel);
+      call = empathy_tp_call_new (account, channel);
 
       if (empathy_tp_call_get_status (call) <= EMPATHY_TP_CALL_STATUS_READYING)
         {