pidgin: 8e446519: If no disco#items feature was found (lik...

qulogic at pidgin.im qulogic at pidgin.im
Mon Jul 6 01:30:42 EDT 2009


-----------------------------------------------------------------
Revision: 8e446519452fdfee1cb5e7a9dc7e468d05adce5e
Ancestor: ba17a7951e25b8a66b8405cb25015f5843597118
Author: qulogic at pidgin.im
Date: 2009-07-04T22:32:00
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/8e446519452fdfee1cb5e7a9dc7e468d05adce5e

Modified files:
        pidgin/plugins/disco/xmppdisco.c

ChangeLog: 

If no disco#items feature was found (like with gmail.com), then our disco
browsing is done and we should say so. Also, we shouldn't leak stuff.

-------------- next part --------------
============================================================
--- pidgin/plugins/disco/xmppdisco.c	bb3825cb49013ce5c45e60fafdf95fb765bb5596
+++ pidgin/plugins/disco/xmppdisco.c	f07675efa50ceb781bfe41b6f3951b72798e7a70
@@ -500,6 +500,10 @@ server_info_cb(PurpleConnection *pc, con
 			++list->fetch_count;
 			pidgin_disco_list_ref(list);
 		}
+		else {
+			pidgin_disco_list_set_in_progress(list, FALSE);
+			g_free(cb_data);
+		}
 	}
 	else {
 		error = xmlnode_get_child(iq, "error");


More information about the Commits mailing list