Mercurial > pidgin
diff src/protocols/jabber/chat.c @ 8120:81a63a9bff88
[gaim-migrate @ 8824]
tweaks just seem to accumulate in my tree
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 16 Jan 2004 01:03:54 +0000 |
parents | d60272410bd5 |
children | 8f4ce853e685 |
line wrap: on
line diff
--- a/src/protocols/jabber/chat.c Thu Jan 15 23:35:43 2004 +0000 +++ b/src/protocols/jabber/chat.c Fri Jan 16 01:03:54 2004 +0000 @@ -619,12 +619,16 @@ if(!(type = xmlnode_get_attrib(packet, "type")) || strcmp(type, "result")) { /* XXX: error msg */ gaim_roomlist_set_in_progress(js->roomlist, FALSE); + gaim_roomlist_unref(js->roomlist); + js->roomlist = NULL; return; } if(!(query = xmlnode_get_child(packet, "query"))) { /* XXX: error msg */ gaim_roomlist_set_in_progress(js->roomlist, FALSE); + gaim_roomlist_unref(js->roomlist); + js->roomlist = NULL; return; }