[gtk] rendernodeparser: Fix a memory leak when parsing glyphs
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] rendernodeparser: Fix a memory leak when parsing glyphs
- Date: Sun, 21 Jul 2019 07:17:09 +0000 (UTC)
commit 6e47ebe030faf67425ac4ddbb811260857b6ad56
Author: Timm Bäder <mail baedert org>
Date: Sun Jul 21 09:06:50 2019 +0200
rendernodeparser: Fix a memory leak when parsing glyphs
gsk/gskrendernodeparser.c | 2 ++
1 file changed, 2 insertions(+)
---
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
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]