changeset 28038:76c0969e3ea7

jabber: Unset the PurpleDnsQueryData when a query fails. Refs #9274. This is the only way I can see those problems occurring, unless there's memory corruption trouble afoot.
author Paul Aurich <paul@darkrain42.org>
date Fri, 21 Aug 2009 20:45:47 +0000
parents d905474475dc
children ed30bc20442c
files libpurple/protocols/jabber/google.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/google.c	Fri Aug 21 19:17:48 2009 +0000
+++ b/libpurple/protocols/jabber/google.c	Fri Aug 21 20:45:47 2009 +0000
@@ -1316,6 +1316,7 @@
 		purple_debug_error("jabber", "Google STUN lookup failed: %s\n",
 			error_message);
 		g_slist_free(hosts);
+		js->stun_query = NULL;
 		return;
 	}