pidgin: 21e0c593: Fix receiving any codecs that aren't in ...

maiku at pidgin.im maiku at pidgin.im
Wed Nov 11 00:45:37 EST 2009


-----------------------------------------------------------------
Revision: 21e0c593084b90bf269f264a4f54e3ac8ea291d9
Ancestor: 94fef144531267b3eb00d02de32ce8a705df592c
Author: maiku at pidgin.im
Date: 2009-11-11T05:40:13
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/21e0c593084b90bf269f264a4f54e3ac8ea291d9

Modified files:
        libpurple/protocols/jabber/jingle/rtp.c

ChangeLog: 

Fix receiving any codecs that aren't in the codec intersection.

The g_list_concat docs said that it reused the elements. I misread that as the
data in the node, but it appears it means the node itself. Therefore, it
shouldn't be freed like I did.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jingle/rtp.c	b60827da45c612f08e4c7bb65b4c65a29973918c
+++ libpurple/protocols/jabber/jingle/rtp.c	d5be2fd9865a5377fe8475a79c849e81b7af747e
@@ -871,7 +871,6 @@ jingle_rtp_handle_action_internal(Jingle
 			}
 
 			codecs = g_list_concat(codecs, remote_codecs);
-			g_list_free (remote_codecs);
 
 			purple_media_set_remote_codecs(media,
 					name, remote_jid, codecs);


More information about the Commits mailing list