* src/cache/ftcmanag.c (FTC_Manager_New): Avoid some zeroing.
diff --git a/src/cache/ftcmanag.c b/src/cache/ftcmanag.c
index 312a83c..81254a9 100644
--- a/src/cache/ftcmanag.c
+++ b/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: