comparison libpurple/privacy.h @ 24469:002a58d4af7d

Fix a crash Jacky Lam noted on devel@pidgin.im: Currently, I experience crash at dnsquery.c:purple_dnsquery_destroy() when my WiFi AP suddenly off while I am online with libpurple. After tracing, I find the data struct PurpleDnsQueryData is freeing twice. The reason is when purple_dnsquery_failed() is called, purple_dnsquery_destroy() will try to free the PurpleDnsQueryData's resolver and itself. But purple_dnsquery_resolver_destroy()'s kill() will trigger the glib's input hook and finally called host_resolved() and eventually call purple_dnsquery_failed() again!!
author Richard Laager <rlaager@wiktel.com>
date Mon, 17 Nov 2008 19:30:27 +0000
parents 6bf32c9e15a7
children 584063555949
comparison
equal deleted inserted replaced
24468:e5efa83aa6d2 24469:002a58d4af7d