# HG changeset patch # User Mark Doliner # Date 1157927608 0 # Node ID 1d73e11d87870777c8f104a38107290fd63f2942 # Parent ebbcd0ad247399a61ed5a484bea89fdb0e7a2e5c [gaim-migrate @ 17230] Evan, see if this fixes the MSN get info crashes for you. Basically canceled DNS requests weren't being removed from the queue, then Gaim would pop them off the queue, but since the request had been canceled the memory was free'd and is now invalid. committer: Tailor Script diff -r ebbcd0ad2473 -r 1d73e11d8787 libgaim/dnsquery.c --- a/libgaim/dnsquery.c Sun Sep 10 21:21:21 2006 +0000 +++ b/libgaim/dnsquery.c Sun Sep 10 22:33:28 2006 +0000 @@ -851,6 +851,8 @@ gaim_dnsquery_destroy(GaimDnsQueryData *query_data) { #if defined(__unix__) || defined(__APPLE__) + g_queue_remove(queued_requests, query_data); + if (query_data->resolver != NULL) /* * Ideally we would tell our resolver child to stop resolving