Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/jingle.c @ 25685:c2231cf3be71
Fix assertion.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Sun, 08 Jun 2008 02:47:38 +0000 |
parents | ee028c73d3e2 |
children | ddbea813862e |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jingle.c Sat Jun 07 23:23:25 2008 +0000 +++ b/libpurple/protocols/jabber/jingle.c Sun Jun 08 02:47:38 2008 +0000 @@ -1107,7 +1107,8 @@ 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;