[Telepathy-commits] [telepathy-salut/master] src/salut-im-channel.c: Remove a ref on stanza: salut_im_channel_message_new() already ref it.

Alban Crequy alban.crequy at collabora.co.uk
Fri Oct 31 10:43:33 PDT 2008


---
 src/salut-im-channel.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/salut-im-channel.c b/src/salut-im-channel.c
index 79c7033..a9dfa08 100644
--- a/src/salut-im-channel.c
+++ b/src/salut-im-channel.c
@@ -909,7 +909,6 @@ _send_message (SalutImChannel *self,
       case CHANNEL_NOT_CONNECTED:
       case CHANNEL_CONNECTING:
       case CHANNEL_CLOSING:
-        g_object_ref (stanza);
         msg = salut_im_channel_message_new (type, text, stanza);
         _send_channel_message (self, msg);
         break;
-- 
1.5.6.5



More information about the Telepathy-commits mailing list