diff options
author | Timm Bäder <mail@baedert.org> | 2019-07-21 09:06:50 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2019-07-21 09:06:50 +0200 |
commit | 6e47ebe030faf67425ac4ddbb811260857b6ad56 (patch) | |
tree | 9ae25b2759bc4e87a6e545303a0f11a6a3288735 /gsk/gskrendernodeparser.c | |
parent | 9728dabf12c4a5ae6f817b89f034037eeae58226 (diff) | |
download | gtk+-6e47ebe030faf67425ac4ddbb811260857b6ad56.tar.gz |
rendernodeparser: Fix a memory leak when parsing glyphs
Diffstat (limited to 'gsk/gskrendernodeparser.c')
-rw-r--r-- | gsk/gskrendernodeparser.c | 2 |
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 { |