[gtksourceview/wip/font-scaling] Fixed memory leak in scale-patch (squash with previous commit)



commit b950ec2b70f2302bf281be59ea7b03ac1aa97186
Author: Andreas Fuchs <anduchs gmail com>
Date:   Thu Jan 2 19:56:11 2014 +0100

    Fixed memory leak in scale-patch (squash with previous commit)

 gtksourceview/gtksourcestylescheme.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/gtksourcestylescheme.c b/gtksourceview/gtksourcestylescheme.c
index 1845da7..c48ee74 100644
--- a/gtksourceview/gtksourcestylescheme.c
+++ b/gtksourceview/gtksourcestylescheme.c
@@ -1014,6 +1014,7 @@ parse_style (GtkSourceStyleScheme *scheme,
        *style_p = result;
        *style_name_p = style_name;
 
+       xmlFree (scale);
        xmlFree (line_bg);
        xmlFree (bg);
        xmlFree (fg);


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