Mercurial > pidgin.yaz
changeset 25685:c2231cf3be71
Fix assertion.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Sun, 08 Jun 2008 02:47:38 +0000 |
parents | cd3bb7a73925 |
children | 3bf9748fdef0 |
files | libpurple/protocols/jabber/jingle.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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;