forked from minhngoc25a/freetype2
* src/sdf/ftsdf.c (sdf_{edge,contour,shape}_new): Use FT_QALLOC.
This commit is contained in:
parent
6ada59ab7c
commit
e6e5b67db3
|
@ -1,3 +1,7 @@
|
|||
2021-04-23 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
* src/sdf/ftsdf.c (sdf_{edge,contour,shape}_new): Use FT_QALLOC.
|
||||
|
||||
2021-04-23 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
[sfnt] s/FT_ALLOC/FT_QALLOC/ for initialized buffers.
|
||||
|
|
|
@ -495,7 +495,7 @@
|
|||
goto Exit;
|
||||
}
|
||||
|
||||
if ( !FT_ALLOC( ptr, sizeof ( *ptr ) ) )
|
||||
if ( !FT_QALLOC( ptr, sizeof ( *ptr ) ) )
|
||||
{
|
||||
*ptr = null_edge;
|
||||
*edge = ptr;
|
||||
|
@ -534,7 +534,7 @@
|
|||
goto Exit;
|
||||
}
|
||||
|
||||
if ( !FT_ALLOC( ptr, sizeof ( *ptr ) ) )
|
||||
if ( !FT_QALLOC( ptr, sizeof ( *ptr ) ) )
|
||||
{
|
||||
*ptr = null_contour;
|
||||
*contour = ptr;
|
||||
|
@ -589,7 +589,7 @@
|
|||
goto Exit;
|
||||
}
|
||||
|
||||
if ( !FT_ALLOC( ptr, sizeof ( *ptr ) ) )
|
||||
if ( !FT_QALLOC( ptr, sizeof ( *ptr ) ) )
|
||||
{
|
||||
*ptr = null_shape;
|
||||
ptr->memory = memory;
|
||||
|
|
Loading…
Reference in New Issue