[evolution-patches] another small leak fix



Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.2118
diff -p -u -r1.2118 ChangeLog
--- ChangeLog	29 Apr 2005 06:51:14 -0000	1.2118
+++ ChangeLog	3 May 2005 11:06:18 -0000
@@ -1,3 +1,9 @@
+2005-05-03  Radek Doulik  <rodo site>
+
+	* gtkhtml.c (selection_get): free save buffer
+
+	* htmlengine.c (element_parse_a): free target before leaving
+
 2005-04-29  Radek Doulik  <rodo site>
 
 	* htmlcluev.c (html_cluev_set_style): unref background color
Index: gtkhtml.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/gtkhtml.c,v
retrieving revision 1.597
diff -p -u -r1.597 gtkhtml.c
--- gtkhtml.c	8 Apr 2005 14:37:37 -0000	1.597
+++ gtkhtml.c	3 May 2005 11:06:18 -0000
@@ -1987,7 +1987,7 @@ selection_get (GtkWidget        *widget,
 							selection_string,
 							len);
   			
-			//html_engine_save_buffer_free (state);
+			html_engine_save_buffer_free (state);
 		}				
 	} else {
 		if (selection_object)
Index: htmlengine.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/htmlengine.c,v
retrieving revision 1.635
diff -p -u -r1.635 htmlengine.c
--- htmlengine.c	29 Apr 2005 06:51:14 -0000	1.635
+++ htmlengine.c	3 May 2005 11:06:19 -0000
@@ -1804,6 +1804,8 @@ element_parse_a (HTMLEngine *e, HTMLObje
 					  html_anchor_new (id));
 		g_free (id);
 	}
+
+	g_free (target);
 	
 	html_element_parse_coreattrs (element);
 	


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