summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parse/properties/font.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parse/properties/font.c b/src/parse/properties/font.c
index fce4012..681c613 100644
--- a/src/parse/properties/font.c
+++ b/src/parse/properties/font.c
@@ -290,6 +290,9 @@ css_error css__parse_font(css_language *c,
error = parse_system_font(c, result, &system_font);
+ lwc_string_unref(system_font.family);
+ system_font.family = NULL;
+
if (error == CSS_OK)
parserutils_vector_iterate(vector, ctx);