diff --git a/src/lzw/ftlzw.c b/src/lzw/ftlzw.c index 3bf172909..b668a50a4 100644 --- a/src/lzw/ftlzw.c +++ b/src/lzw/ftlzw.c @@ -344,7 +344,7 @@ { FT_Error error; FT_Memory memory; - FT_LZWFile zip = NULL; + FT_LZWFile zip; if ( !stream || !source ) @@ -369,7 +369,7 @@ FT_ZERO( stream ); stream->memory = memory; - if ( !FT_NEW( zip ) ) + if ( !FT_QNEW( zip ) ) { error = ft_lzw_file_init( zip, stream, source ); if ( error )