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

though "realloc" didn't clear the new bytes of memory..
This commit is contained in:
David Turner 2001-10-18 11:23:51 +00:00
parent 39bea028f8
commit a1471038bd
1 changed files with 3 additions and 0 deletions

View File

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