* src/sdf/ftsdf.c (sdf_*_new): Use standard macro.
This commit is contained in:
parent
09223ef929
commit
0ac535900b
|
@ -497,7 +497,7 @@
|
||||||
goto Exit;
|
goto Exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !FT_QALLOC( ptr, sizeof ( *ptr ) ) )
|
if ( !FT_QNEW( ptr ) )
|
||||||
{
|
{
|
||||||
*ptr = null_edge;
|
*ptr = null_edge;
|
||||||
*edge = ptr;
|
*edge = ptr;
|
||||||
|
@ -536,7 +536,7 @@
|
||||||
goto Exit;
|
goto Exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !FT_QALLOC( ptr, sizeof ( *ptr ) ) )
|
if ( !FT_QNEW( ptr ) )
|
||||||
{
|
{
|
||||||
*ptr = null_contour;
|
*ptr = null_contour;
|
||||||
*contour = ptr;
|
*contour = ptr;
|
||||||
|
@ -591,7 +591,7 @@
|
||||||
goto Exit;
|
goto Exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !FT_QALLOC( ptr, sizeof ( *ptr ) ) )
|
if ( !FT_QNEW( ptr ) )
|
||||||
{
|
{
|
||||||
*ptr = null_shape;
|
*ptr = null_shape;
|
||||||
ptr->memory = memory;
|
ptr->memory = memory;
|
||||||
|
|
Loading…
Reference in New Issue