# HG changeset patch # User Nathan Walp # Date 1069407076 0 # Node ID 1d9698ab5465a4a042c7f296c266c34d8c8633cf # Parent c50926062b30a455593857c56eeeb52e75e10f3b [gaim-migrate @ 8205] hrmm, I remember changing this some time ago, why didn't it get committed? committer: Tailor Script diff -r c50926062b30 -r 1d9698ab5465 src/protocols/jabber/jabber.c --- a/src/protocols/jabber/jabber.c Fri Nov 21 09:01:15 2003 +0000 +++ b/src/protocols/jabber/jabber.c Fri Nov 21 09:31:16 2003 +0000 @@ -736,8 +736,8 @@ close(js->fd); } - g_markup_parse_context_free(js->context); - + if(js->context) + g_markup_parse_context_free(js->context); if(js->callbacks) g_hash_table_destroy(js->callbacks); if(js->buddies) @@ -746,7 +746,8 @@ g_hash_table_destroy(js->chats); if(js->stream_id) g_free(js->stream_id); - jabber_id_free(js->user); + if(js->user) + jabber_id_free(js->user); g_free(js); }