* src/truetype/ttgxvar.c (TT_Vary_Get_Glyph_Deltas): Fix call to

FT_NEW_ARRAY.
This commit is contained in:
Werner Lemberg 2004-09-08 09:47:44 +00:00
parent 645af08157
commit 619e147621
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-09-07 Werner Lemberg <wl@gnu.org>
* src/truetype/ttgxvar.c (TT_Vary_Get_Glyph_Deltas): Fix call to
FT_NEW_ARRAY.
2004-09-04 Werner Lemberg <wl@gnu.org> 2004-09-04 Werner Lemberg <wl@gnu.org>
* include/freetype/internal/ftobjs.h: Don't include * include/freetype/internal/ftobjs.h: Don't include

View File

@ -1323,7 +1323,7 @@
return TT_Err_Invalid_Argument; return TT_Err_Invalid_Argument;
/* to be freed by the caller */ /* to be freed by the caller */
if ( (error = FT_NEW_ARRAY( delta_xy, n_points )) != 0 ) if ( FT_NEW_ARRAY( delta_xy, n_points ) != 0 )
goto Exit; goto Exit;
*deltas = delta_xy; *deltas = delta_xy;