[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.
wl/meson-logging
Alexei Podtelezhnikov 4 years ago
parent 90b97a833d
commit 93715ab2c4
  1. 7
      ChangeLog
  2. 2
      src/gxvalid/gxvmod.c
  3. 2
      src/otvalid/otvmod.c

@ -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…
Cancel
Save