changeset 26188:9cda61a15698

Free the session as well on error.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Thu, 05 Feb 2009 23:54:35 +0000
parents 836f2e0b3b22
children 76104100cb87 cab1ed5a0402
files libpurple/protocols/jabber/jingle/rtp.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
 	}