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
e65e9b13c2
commit
de3fb83c68
@ -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
Block a user