diff --git a/ChangeLog b/ChangeLog index a57b2674b..0063881ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2016-04-24 Werner Lemberg + + [truetype] Really fix deallocation in case of error (#47726). + + * src/truetype/ttgload.c (load_truetype_glyph): Thinko; initialize + `outline.points' also. + 2016-06-23 Alexei Podtelezhnikov [smooth] Consolidate memory management. diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c index 5a488823b..8be9b6ae6 100644 --- a/src/truetype/ttgload.c +++ b/src/truetype/ttgload.c @@ -1746,6 +1746,7 @@ outline.n_points = (short)( gloader->current.num_subglyphs + 4 ); outline.n_contours = outline.n_points; + outline.points = NULL; outline.tags = NULL; outline.contours = NULL;