diff libpurple/protocols/jabber/google.c @ 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 da33da2e1a1e
children ed30bc20442c
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;
 	}