summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Ruprecht <maiku@pidgin.im>2009-11-11 05:40:13 +0000
committerMichael Ruprecht <maiku@pidgin.im>2009-11-11 05:40:13 +0000
commit8d9903756e935e3fb11193a9b2446dbeb3a28491 (patch)
treefa40cc8d24d2a071a15796b64b9dcd527ef1d742
parent3d26e9e3b035f08febb413a9c3b08a0dfe770230 (diff)
downloadpidgin-8d9903756e935e3fb11193a9b2446dbeb3a28491.tar.gz
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.
-rw-r--r--libpurple/protocols/jabber/jingle/rtp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libpurple/protocols/jabber/jingle/rtp.c b/libpurple/protocols/jabber/jingle/rtp.c
index 8896ef6a43..5d46f39a9a 100644
--- a/libpurple/protocols/jabber/jingle/rtp.c
+++ b/libpurple/protocols/jabber/jingle/rtp.c
@@ -871,7 +871,6 @@ jingle_rtp_handle_action_internal(JingleContent *content, xmlnode *xmlcontent, J
}
codecs = g_list_concat(codecs, remote_codecs);
- g_list_free (remote_codecs);
purple_media_set_remote_codecs(media,
name, remote_jid, codecs);