From f752713d07424217170c6fbf85789bd58d92f924 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 8 May 2021 18:01:42 +0100 Subject: parse: Squash leak of system font names. --- src/parse/properties/font.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.3