summaryrefslogtreecommitdiff
path: root/gsk/gskrendernodeparser.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2019-07-21 09:06:50 +0200
committerTimm Bäder <mail@baedert.org>2019-07-21 09:06:50 +0200
commit6e47ebe030faf67425ac4ddbb811260857b6ad56 (patch)
tree9ae25b2759bc4e87a6e545303a0f11a6a3288735 /gsk/gskrendernodeparser.c
parent9728dabf12c4a5ae6f817b89f034037eeae58226 (diff)
downloadgtk+-6e47ebe030faf67425ac4ddbb811260857b6ad56.tar.gz
rendernodeparser: Fix a memory leak when parsing glyphs
Diffstat (limited to 'gsk/gskrendernodeparser.c')
-rw-r--r--gsk/gskrendernodeparser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gsk/gskrendernodeparser.c b/gsk/gskrendernodeparser.c
index 402ee3e5e4..ee370d1112 100644
--- a/gsk/gskrendernodeparser.c
+++ b/gsk/gskrendernodeparser.c
@@ -749,6 +749,8 @@ parse_glyphs (GtkCssParser *parser,
pango_glyph_string_set_size (glyph_string, glyph_string->num_glyphs + 1);
glyph_string->glyphs[glyph_string->num_glyphs - 1] = gi;
}
+
+ g_free (s);
}
else
{