ref: 0ac535900b498bc477c811fcb53cc976c192bae7
parent: 09223ef92925ec3ce76670fd09c0d4e03fb18b26
author: Alexei Podtelezhnikov <[email protected]>
date: Wed Jan 26 09:02:27 EST 2022
* src/sdf/ftsdf.c (sdf_*_new): Use standard macro.
--- a/src/sdf/ftsdf.c
+++ b/src/sdf/ftsdf.c
@@ -497,7 +497,7 @@
goto Exit;
}
- if ( !FT_QALLOC( ptr, sizeof ( *ptr ) ) )
+ if ( !FT_QNEW( ptr ) )
{
*ptr = null_edge;
*edge = ptr;
@@ -536,7 +536,7 @@
goto Exit;
}
- if ( !FT_QALLOC( ptr, sizeof ( *ptr ) ) )
+ if ( !FT_QNEW( ptr ) )
{
*ptr = null_contour;
*contour = ptr;
@@ -591,7 +591,7 @@
goto Exit;
}
- if ( !FT_QALLOC( ptr, sizeof ( *ptr ) ) )
+ if ( !FT_QNEW( ptr ) )
{
*ptr = null_shape;
ptr->memory = memory;