* src/cache/ftcmanag.c (FTC_Manager_New): Avoid some zeroing.

unsigned-revisions
Alexei Podtelezhnikov 3 years ago
parent 0a6f0f8fed
commit a7b199d081
  1. 7
      src/cache/ftcmanag.c

@ -357,7 +357,7 @@
{
FT_Error error;
FT_Memory memory;
FTC_Manager manager = 0;
FTC_Manager manager;
if ( !library )
@ -368,7 +368,7 @@
memory = library->memory;
if ( FT_NEW( manager ) )
if ( FT_QNEW( manager ) )
goto Exit;
if ( max_faces == 0 )
@ -399,6 +399,9 @@
manager,
memory );
manager->num_nodes = 0;
manager->num_caches = 0;
*amanager = manager;
Exit:

Loading…
Cancel
Save