Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType
Commits:
-
ee52b571
by Alexei Podtelezhnikov at 2022-01-13T09:45:48-05:00
1 changed file:
Changes:
... | ... | @@ -344,7 +344,7 @@ |
344 | 344 |
{
|
345 | 345 |
FT_Error error;
|
346 | 346 |
FT_Memory memory;
|
347 |
- FT_LZWFile zip = NULL;
|
|
347 |
+ FT_LZWFile zip;
|
|
348 | 348 |
|
349 | 349 |
|
350 | 350 |
if ( !stream || !source )
|
... | ... | @@ -369,7 +369,7 @@ |
369 | 369 |
FT_ZERO( stream );
|
370 | 370 |
stream->memory = memory;
|
371 | 371 |
|
372 |
- if ( !FT_NEW( zip ) )
|
|
372 |
+ if ( !FT_QNEW( zip ) )
|
|
373 | 373 |
{
|
374 | 374 |
error = ft_lzw_file_init( zip, stream, source );
|
375 | 375 |
if ( error )
|