changeset 27289: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 9aea1eb8aa66
children c900484e41c0
files pidgin/plugins/disco/xmppdisco.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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");