summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cache/ftccmap.c4
-rw-r--r--src/cache/ftcimage.c4
-rw-r--r--src/cache/ftcsbits.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/cache/ftccmap.c b/src/cache/ftccmap.c
index 25ceff44e..5ee6877e4 100644
--- a/src/cache/ftccmap.c
+++ b/src/cache/ftccmap.c
@@ -112,11 +112,11 @@
FTC_CMapQuery query = (FTC_CMapQuery)ftcquery;
FT_Error error;
FT_Memory memory = cache->memory;
- FTC_CMapNode node = NULL;
+ FTC_CMapNode node;
FT_UInt nn;
- if ( !FT_NEW( node ) )
+ if ( !FT_QNEW( node ) )
{
node->face_id = query->face_id;
node->cmap_index = query->cmap_index;
diff --git a/src/cache/ftcimage.c b/src/cache/ftcimage.c
index 344e73a80..aec145c71 100644
--- a/src/cache/ftcimage.c
+++ b/src/cache/ftcimage.c
@@ -61,10 +61,10 @@
{
FT_Memory memory = cache->memory;
FT_Error error;
- FTC_INode inode = NULL;
+ FTC_INode inode;
- if ( !FT_NEW( inode ) )
+ if ( !FT_QNEW( inode ) )
{
FTC_GNode gnode = FTC_GNODE( inode );
FTC_Family family = gquery->family;
diff --git a/src/cache/ftcsbits.c b/src/cache/ftcsbits.c
index a9fa1dbae..c36b8efe3 100644
--- a/src/cache/ftcsbits.c
+++ b/src/cache/ftcsbits.c
@@ -233,7 +233,7 @@
goto Exit;
}
- if ( !FT_NEW( snode ) )
+ if ( !FT_QNEW( snode ) )
{
FT_UInt count, start;