[evolution-patches] Filter leak.



The filter was leaking current_url.

--Larry
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/filter/ChangeLog,v
retrieving revision 1.370
diff -u -p -r1.370 ChangeLog
--- ChangeLog	11 Jun 2003 15:56:38 -0000	1.370
+++ ChangeLog	13 Jun 2003 15:50:37 -0000
@@ -1,3 +1,7 @@
+2003-06-13  Larry Ewing  <lewing ximian com>
+
+	* filter-source.c (filter_source_finalize): free current_url.
+
 2003-06-11  Mike Kestner  <mkestner ximian com>
 
 	* rule-context.c (load): stat the user file before parsing.
Index: filter-source.c
===================================================================
RCS file: /cvs/gnome/evolution/filter/filter-source.c,v
retrieving revision 1.21
diff -u -p -r1.21 filter-source.c
--- filter-source.c	9 Jun 2003 18:17:10 -0000	1.21
+++ filter-source.c	13 Jun 2003 15:50:37 -0000
@@ -140,7 +140,8 @@ filter_source_finalize (GObject *obj)
 	}
 	
 	g_list_free (fs->priv->sources);
-	
+	g_free (fs->priv->current_url);
+
 	g_free (fs->priv);
 	
 	G_OBJECT_CLASS (parent_class)->finalize (obj);


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