summaryrefslogtreecommitdiff
path: root/src/bzip2/ftbzip2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bzip2/ftbzip2.c')
-rw-r--r--src/bzip2/ftbzip2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bzip2/ftbzip2.c b/src/bzip2/ftbzip2.c
index b8d65d3b9..1d08f5e18 100644
--- a/src/bzip2/ftbzip2.c
+++ b/src/bzip2/ftbzip2.c
@@ -481,9 +481,7 @@
FT_ZERO( stream );
stream->memory = memory;
- /* Don't use `FT_QNEW` here to avoid problems with uninitialized */
- /* memory later on if the font is malformed. */
- if ( !FT_NEW( zip ) )
+ if ( !FT_QNEW( zip ) )
{
error = ft_bzip2_file_init( zip, stream, source );
if ( error )