* src/psaux/psobjs.c (ps_table_new): Revert to zeroing.

fix-sdf-squared-distances
Alexei Podtelezhnikov 3 years ago
parent 0d2b4952a3
commit 706c79a1da
  1. 4
      src/psaux/psobjs.c

@ -78,8 +78,8 @@
table->memory = memory;
if ( FT_QNEW_ARRAY( table->elements, count ) ||
FT_QNEW_ARRAY( table->lengths, count ) )
if ( FT_NEW_ARRAY( table->elements, count ) ||
FT_NEW_ARRAY( table->lengths, count ) )
goto Exit;
table->max_elems = count;

Loading…
Cancel
Save