diff --git a/util/helper-cairo.hh b/util/helper-cairo.hh index 4d6468f2b..d25372240 100644 --- a/util/helper-cairo.hh +++ b/util/helper-cairo.hh @@ -135,6 +135,7 @@ helper_cairo_create_scaled_font (const font_options_t *font_opts) if (sscanf (entries[i], "%u:%2x%2x%2x%2x", &idx, &fr, &fg, &fb, &fa) == 5) cairo_font_options_set_custom_palette_color (font_options, idx, fr / 255., fg / 255., fb / 255., fa / 255.); } + g_strfreev (entries); } #endif cairo_font_options_set_color_palette (font_options, palette_index);