diff pidgin/plugins/disco/xmppdisco.c @ 27371:4c55aa5aab82

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.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 04 Jul 2009 22:32:00 +0000
parents f5222e5ae468
children ebb0f7d27f5b
line wrap: on
line diff
--- a/pidgin/plugins/disco/xmppdisco.c	Sat Jul 04 22:15:59 2009 +0000
+++ b/pidgin/plugins/disco/xmppdisco.c	Sat Jul 04 22:32:00 2009 +0000
@@ -500,6 +500,10 @@
 			++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");