[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:
Alexei Podtelezhnikov 2021-04-22 23:07:01 -04:00
parent 90b97a833d
commit 93715ab2c4
3 changed files with 9 additions and 2 deletions

View File

@ -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.

View File

@ -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 );

View File

@ -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 );