changeset 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 867438a30bdd
children 738cd1adb3cf 65cff6f1aca9 ffcc5c128553
files libpurple/protocols/jabber/jingle/rtp.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
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);