[hb-view] Fix leak

This commit is contained in:
Behdad Esfahbod committed 2023-01-20 13:57:39 -07:00
1 parent 5847ec24ff
commit 52b78d526b
1 file changed
+1
+1
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);