fixing a "bug" that affected the Postscript hinter: growing a memory block

though "realloc" didn't clear the new bytes of memory..
BRANCH-2-1-5
David Turner 24 years ago
parent e65e9b13c2
commit de3fb83c68
  1. 3
      src/base/ftobjs.c

@ -109,6 +109,9 @@
if ( !Q )
goto Fail;
if ( size > current )
memset( (char*)Q + current, 0, size - current );
*P = Q;
return FT_Err_Ok;

Loading…
Cancel
Save