# HG changeset patch # User Daniel Atallah # Date 1141957464 0 # Node ID 9ad3d85fffeb580ad495d38724fa61e1d55fe4f1 # Parent 51c6405049a3aa6a582be9ef82332846667e9795 [gaim-migrate @ 15861] don't crash when a conversation is open and the account logs out committer: Tailor Script diff -r 51c6405049a3 -r 9ad3d85fffeb src/protocols/jabber/jabber.c --- a/src/protocols/jabber/jabber.c Fri Mar 10 02:20:56 2006 +0000 +++ b/src/protocols/jabber/jabber.c Fri Mar 10 02:24:24 2006 +0000 @@ -1032,12 +1032,13 @@ const char **nw, const char **ne) { JabberStream *js; - JabberBuddy *jb; + JabberBuddy *jb = NULL; if(!b->account->gc) return; js = b->account->gc->proto_data; - jb = jabber_buddy_find(js, b->name, FALSE); + if(js) + jb = jabber_buddy_find(js, b->name, FALSE); if(!GAIM_BUDDY_IS_ONLINE(b)) { if(jb && jb->error_msg)