diff options
author | Michael Ruprecht <maiku@pidgin.im> | 2009-11-11 05:40:13 +0000 |
---|---|---|
committer | Michael Ruprecht <maiku@pidgin.im> | 2009-11-11 05:40:13 +0000 |
commit | 8d9903756e935e3fb11193a9b2446dbeb3a28491 (patch) | |
tree | fa40cc8d24d2a071a15796b64b9dcd527ef1d742 | |
parent | 3d26e9e3b035f08febb413a9c3b08a0dfe770230 (diff) | |
download | pidgin-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.c | 1 |
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); |