# HG changeset patch # User Mike Ruprecht # Date 1233878075 0 # Node ID 9cda61a156986635839a2299170d036db78bf3af # Parent 836f2e0b3b22756df710f9d0e15cfe04ab875389 Free the session as well on error. diff -r 836f2e0b3b22 -r 9cda61a15698 libpurple/protocols/jabber/jingle/rtp.c --- a/libpurple/protocols/jabber/jingle/rtp.c Thu Feb 05 23:30:48 2009 +0000 +++ b/libpurple/protocols/jabber/jingle/rtp.c Thu Feb 05 23:54:35 2009 +0000 @@ -306,6 +306,7 @@ g_hash_table_remove(jingle_session_get_js( session)->medias, sid); g_free(sid); + g_object_unref(session); return; }