Skip to content
Snippets Groups Projects
Commit d95a79b7 authored by Daniel Holbert's avatar Daniel Holbert
Browse files

Bug 1893270 followup: save a copy of the cairo patch in-tree. a=dmeehan

parent 3c1217c5
No related branches found
No related tags found
No related merge requests found
diff --git a/gfx/cairo/cairo/src/cairo-cff-subset.c b/gfx/cairo/cairo/src/cairo-cff-subset.c
--- a/gfx/cairo/cairo/src/cairo-cff-subset.c
+++ b/gfx/cairo/cairo/src/cairo-cff-subset.c
@@ -3154,7 +3154,7 @@ static cairo_int_status_t
cairo_status_t status;
cairo_cff_font_t *font;
- font = _cairo_malloc (sizeof (cairo_cff_font_t));
+ font = calloc (1, sizeof (cairo_cff_font_t));
if (unlikely (font == NULL))
return _cairo_error (CAIRO_STATUS_NO_MEMORY);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment