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

This commit is contained in:
Alexei Podtelezhnikov 2021-09-02 22:58:50 -04:00
parent 0a6f0f8fed
commit a7b199d081
1 changed files with 5 additions and 2 deletions

View File

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