diff libpurple/protocols/jabber/jingle/rtp.c @ 28533:52eef06b1829

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.
author maiku@pidgin.im
date Wed, 11 Nov 2009 05:40:13 +0000
parents 5f77d173f8da
children ffcc5c128553 0b5520bf1fe3
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jingle/rtp.c	Wed Nov 11 02:38:28 2009 +0000
+++ b/libpurple/protocols/jabber/jingle/rtp.c	Wed Nov 11 05:40:13 2009 +0000
@@ -871,7 +871,6 @@
 			}
 
 			codecs = g_list_concat(codecs, remote_codecs);
-			g_list_free (remote_codecs);
 
 			purple_media_set_remote_codecs(media,
 					name, remote_jid, codecs);