Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
28037:d905474475dc | 28038:76c0969e3ea7 |
---|---|
1314 | 1314 |
1315 if (error_message) { | 1315 if (error_message) { |
1316 purple_debug_error("jabber", "Google STUN lookup failed: %s\n", | 1316 purple_debug_error("jabber", "Google STUN lookup failed: %s\n", |
1317 error_message); | 1317 error_message); |
1318 g_slist_free(hosts); | 1318 g_slist_free(hosts); |
1319 js->stun_query = NULL; | |
1319 return; | 1320 return; |
1320 } | 1321 } |
1321 | 1322 |
1322 if (hosts && g_slist_next(hosts)) { | 1323 if (hosts && g_slist_next(hosts)) { |
1323 struct sockaddr *addr = g_slist_next(hosts)->data; | 1324 struct sockaddr *addr = g_slist_next(hosts)->data; |