[bzip2,gzip] s/FT_ALLOC/FT_QALLOC/ for initialized buffers.
* src/bzip2/ftbzip2.c (ft_bzip2_alloc): Do not zero out the buffer. * src/gzip/ftgzip.c (ft_gzip_alloc, FT_Stream_OpenGzip): Ditto.
This commit is contained in:
parent
a0fb6dbcd9
commit
1e525c62ae
@ -1,3 +1,10 @@
|
||||
2021-04-23 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
[bzip2,gzip] s/FT_ALLOC/FT_QALLOC/ for initialized buffers.
|
||||
|
||||
* src/bzip2/ftbzip2.c (ft_bzip2_alloc): Do not zero out the buffer.
|
||||
* src/gzip/ftgzip.c (ft_gzip_alloc, FT_Stream_OpenGzip): Ditto.
|
||||
|
||||
2021-04-23 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
[pcf,bdf,winfonts] s/FT_ALLOC/FT_QALLOC/ for initialized buffers.
|
||||
|
@ -70,7 +70,7 @@
|
||||
FT_Pointer p = NULL;
|
||||
|
||||
|
||||
(void)FT_ALLOC( p, sz );
|
||||
(void)FT_QALLOC( p, sz );
|
||||
return p;
|
||||
}
|
||||
|
||||
|
@ -130,7 +130,7 @@
|
||||
FT_Pointer p = NULL;
|
||||
|
||||
|
||||
(void)FT_ALLOC( p, sz );
|
||||
(void)FT_QALLOC( p, sz );
|
||||
return p;
|
||||
}
|
||||
|
||||
@ -671,7 +671,7 @@
|
||||
FT_Byte* zip_buff = NULL;
|
||||
|
||||
|
||||
if ( !FT_ALLOC( zip_buff, zip_size ) )
|
||||
if ( !FT_QALLOC( zip_buff, zip_size ) )
|
||||
{
|
||||
FT_ULong count;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user