[hb-view] Fix leak
This commit is contained in:
parent
5847ec24ff
commit
52b78d526b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue