[evolution-patches] memory leak fix for e-d-s



need to free schema_dn in ::dispose.

Chris
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/ChangeLog,v
retrieving revision 1.192
diff -u -r1.192 ChangeLog
--- ChangeLog	20 Aug 2004 10:25:25 -0000	1.192
+++ ChangeLog	20 Aug 2004 18:53:09 -0000
@@ -1,3 +1,8 @@
+2004-08-20  Chris Toshok  <toshok ximian com>
+
+	* backends/ldap/e-book-backend-ldap.c
+	(e_book_backend_ldap_dispose): free bl->priv->schema_dn.
+
 2004-08-20  Sivaiah Nallagatla <snallagatla novell com>
 
 	* backend/groupwise/e-book-backend-groupwise.c (populate_full_name) :
Index: backends/ldap/e-book-backend-ldap.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/backends/ldap/e-book-backend-ldap.c,v
retrieving revision 1.29
diff -u -r1.29 e-book-backend-ldap.c
--- backends/ldap/e-book-backend-ldap.c	12 Aug 2004 05:05:21 -0000	1.29
+++ backends/ldap/e-book-backend-ldap.c	20 Aug 2004 18:53:09 -0000
@@ -3551,7 +3551,7 @@
 
 		g_free (bl->priv->ldap_host);
 		g_free (bl->priv->ldap_rootdn);
-		
+		g_free (bl->priv->schema_dn);
 		g_free (bl->priv);
 		bl->priv = NULL;
 	}


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