* src/cache/ftcmanag.c (FTC_Manager_New): Avoid some zeroing.
This commit is contained in:
parent
0a6f0f8fed
commit
a7b199d081
|
@ -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…
Reference in New Issue