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:
parent
39bea028f8
commit
a1471038bd
|
@ -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…
Reference in New Issue