Werner Lemberg pushed to branch master at FreeType / FreeType
Commits:
-
f1d3b9f1
by Ben Wagner at 2022-01-11T17:15:35-05:00
1 changed file:
Changes:
... | ... | @@ -481,9 +481,7 @@ |
481 | 481 |
FT_ZERO( stream );
|
482 | 482 |
stream->memory = memory;
|
483 | 483 |
|
484 |
- /* Don't use `FT_QNEW` here to avoid problems with uninitialized */
|
|
485 |
- /* memory later on if the font is malformed. */
|
|
486 |
- if ( !FT_NEW( zip ) )
|
|
484 |
+ if ( !FT_QNEW( zip ) )
|
|
487 | 485 |
{
|
488 | 486 |
error = ft_bzip2_file_init( zip, stream, source );
|
489 | 487 |
if ( error )
|