|
From: <the...@us...> - 2006-09-10 22:33:31
|
Revision: 17230
http://svn.sourceforge.net/gaim/?rev=17230&view=rev
Author: thekingant
Date: 2006-09-10 15:33:28 -0700 (Sun, 10 Sep 2006)
Log Message:
-----------
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.
Modified Paths:
--------------
trunk/libgaim/dnsquery.c
Modified: trunk/libgaim/dnsquery.c
===================================================================
--- trunk/libgaim/dnsquery.c 2006-09-10 21:21:21 UTC (rev 17229)
+++ trunk/libgaim/dnsquery.c 2006-09-10 22:33:28 UTC (rev 17230)
@@ -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
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|