Mercurial > pidgin
diff libgaim/dnsquery.c @ 14510:1d73e11d8787
[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 <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 10 Sep 2006 22:33:28 +0000 |
parents | 5a09940b88f7 |
children | 4ee6553079b5 |
line wrap: on
line diff
--- 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