forked from minhngoc25a/freetype2
[gxvalid,otvalid] s/FT_ALLOC/FT_QALLOC/ for initialized buffers.
* src/gxvalid/gxvmod.c (gxv_load_table): Do not zero out the buffer. * src/otvalid/otvmod.c (otv_load_table): Ditto.
This commit is contained in:
parent
90b97a833d
commit
93715ab2c4
|
@ -1,3 +1,10 @@
|
|||
2021-04-22 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
[gxvalid,otvalid] s/FT_ALLOC/FT_QALLOC/ for initialized buffers.
|
||||
|
||||
* src/gxvalid/gxvmod.c (gxv_load_table): Do not zero out the buffer.
|
||||
* src/otvalid/otvmod.c (otv_load_table): Ditto.
|
||||
|
||||
2021-04-22 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
[psaux] s/FT_ALLOC/FT_QALLOC/ for initialized buffers.
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
if ( error )
|
||||
goto Exit;
|
||||
|
||||
if ( FT_ALLOC( *table, *table_len ) )
|
||||
if ( FT_QALLOC( *table, *table_len ) )
|
||||
goto Exit;
|
||||
|
||||
error = FT_Load_Sfnt_Table( face, tag, 0, *table, table_len );
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
if ( error )
|
||||
goto Exit;
|
||||
|
||||
if ( FT_ALLOC( *table, *table_len ) )
|
||||
if ( FT_QALLOC( *table, *table_len ) )
|
||||
goto Exit;
|
||||
|
||||
error = FT_Load_Sfnt_Table( face, tag, 0, *table, table_len );
|
||||
|
|
Loading…
Reference in New Issue