evolution-data-server r10201 - in trunk: . libedataserver



Author: mcrha
Date: Tue Apr  7 12:28:22 2009
New Revision: 10201
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=10201&view=rev

Log:
2009-04-07  Milan Crha  <mcrha redhat com>

	** Fix for bug #574522

	* libedataserver/e-proxy.c: (e_proxy_dispose), (ep_set_proxy):
	Free list's members properly.



Modified:
   trunk/ChangeLog
   trunk/libedataserver/e-proxy.c

Modified: trunk/libedataserver/e-proxy.c
==============================================================================
--- trunk/libedataserver/e-proxy.c	(original)
+++ trunk/libedataserver/e-proxy.c	Tue Apr  7 12:28:22 2009
@@ -225,12 +225,12 @@
 			soup_uri_free (priv->uri_https);
 
 		if (priv->ign_hosts) {
-			g_slist_foreach (priv->ign_hosts, (GFunc) ep_free_proxy_host_addr, NULL);
+			g_slist_foreach (priv->ign_hosts, (GFunc) g_free, NULL);
 			g_slist_free (priv->ign_hosts);
 		}
 
 		if (priv->ign_addrs) {
-			g_slist_foreach (priv->ign_addrs, (GFunc) g_free, NULL);
+			g_slist_foreach (priv->ign_addrs, (GFunc) ep_free_proxy_host_addr, NULL);
 			g_slist_free (priv->ign_addrs);
 		}
 		
@@ -618,7 +618,7 @@
 		}
 
 		if (priv->ign_addrs) {
-			g_slist_foreach (priv->ign_addrs, (GFunc) g_free, NULL);
+			g_slist_foreach (priv->ign_addrs, (GFunc) ep_free_proxy_host_addr, NULL);
 			g_slist_free (priv->ign_addrs);
 			priv->ign_addrs = NULL;
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]