* src/sfnt/pngshim.c (Load_SBit_Png): Tweak allocaton macro.
This commit is contained in:
parent
56ae943050
commit
2583b6085e
|
@ -1,3 +1,7 @@
|
||||||
|
2021-05-01 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||||
|
|
||||||
|
* src/sfnt/pngshim.c (Load_SBit_Png): Tweak allocaton macro.
|
||||||
|
|
||||||
2021-05-01 Alexei Podtelezhnikov <apodtele@gmail.com>
|
2021-05-01 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||||
|
|
||||||
[truetype] Avoid some memory zeroing.
|
[truetype] Avoid some memory zeroing.
|
||||||
|
|
|
@ -430,7 +430,7 @@
|
||||||
goto DestroyExit;
|
goto DestroyExit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( FT_NEW_ARRAY( rows, imgHeight ) )
|
if ( FT_QNEW_ARRAY( rows, imgHeight ) )
|
||||||
{
|
{
|
||||||
error = FT_THROW( Out_Of_Memory );
|
error = FT_THROW( Out_Of_Memory );
|
||||||
goto DestroyExit;
|
goto DestroyExit;
|
||||||
|
|
Loading…
Reference in New Issue