[gtksourceview] More leaks in the CSS style.



commit f5510577d3c21835580108c786e3b79b2952c61c
Author: Paolo Borelli <pborelli gnome org>
Date:   Sat Jan 29 22:10:01 2011 +0100

    More leaks in the CSS style.

 gtksourceview/gtksourcestylescheme.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/gtksourcestylescheme.c b/gtksourceview/gtksourcestylescheme.c
index 9dc0d32..5a1d50b 100644
--- a/gtksourceview/gtksourcestylescheme.c
+++ b/gtksourceview/gtksourcestylescheme.c
@@ -669,6 +669,9 @@ append_css_style (GString        *string,
 		g_string_append_printf (string, css_style, state,
 		                        bg != NULL ? bg : "",
 		                        text != NULL ? text : "");
+
+		g_free (bg);
+		g_free (text);
 	}
 }
 



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