jabber: Unset the PurpleDnsQueryData when a query fails. Refs #9274.

Fri, 21 Aug 2009 20:45:47 +0000

author
Paul Aurich <darkrain42@pidgin.im>
date
Fri, 21 Aug 2009 20:45:47 +0000
changeset 28317
e706c9dcce0a
parent 28316
39822449ee6a
child 28318
e02ded498369

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.

libpurple/protocols/jabber/google.c file | annotate | diff | comparison | revisions
--- 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;
 	}
 

mercurial