soc.2008.vv: abb70b80: Fix assertion.

maiku at soc.pidgin.im maiku at soc.pidgin.im
Tue Jun 10 01:25:49 EDT 2008


-----------------------------------------------------------------
Revision: abb70b8005b3219cf51fa57178e0510beef74f97
Ancestor: ce366819f5aa6423a40312a31b69c0164111ecde
Author: maiku at soc.pidgin.im
Date: 2008-06-08T02:47:38
Branch: im.pidgin.soc.2008.vv
URL: http://d.pidgin.im/viewmtn/revision/info/abb70b8005b3219cf51fa57178e0510beef74f97

Modified files:
        libpurple/protocols/jabber/jingle.c

ChangeLog: 

Fix assertion.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jingle.c	ab4c50313a357bdeaddadb3717595faf28a0b2a1
+++ libpurple/protocols/jabber/jingle.c	e2165ba40b7bec7d8ab3fcd39ccfaa237e188471
@@ -1107,7 +1107,8 @@ jabber_jingle_session_terminate_sessions
 void
 jabber_jingle_session_terminate_sessions(JabberStream *js)
 {
-	GList *values = g_hash_table_get_values(js->sessions);
+	GList *values = js->sessions ?
+			g_hash_table_get_values(js->sessions) : NULL;
 
 	for (; values; values = values->next) {
 		JingleSession *session = (JingleSession *)values->data;


More information about the Commits mailing list