Commit befee11296032fc8b25d87bf0f65c18bb67682bb

Werner Lemberg 2018-05-15T17:01:22

[sfnt] Fix memory leak in handling `COLR' data. * src/truetype/ttgload.c (TT_Load_Glyph): Free old `layers' array before reassigning allocated memory. Only allocate `color_layers' if we don't have one already.