[hb-view] Fix leak

This commit is contained in:
Behdad Esfahbod 2023-01-18 23:06:08 -07:00
parent 5847ec24ff
commit 52b78d526b
1 changed files with 1 additions and 0 deletions

View File

@ -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);