Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType
Commits:
-
0ac53590
by Alexei Podtelezhnikov at 2022-01-26T14:02:27-05:00
1 changed file:
Changes:
... | ... | @@ -497,7 +497,7 @@ |
497 | 497 |
goto Exit;
|
498 | 498 |
}
|
499 | 499 |
|
500 |
- if ( !FT_QALLOC( ptr, sizeof ( *ptr ) ) )
|
|
500 |
+ if ( !FT_QNEW( ptr ) )
|
|
501 | 501 |
{
|
502 | 502 |
*ptr = null_edge;
|
503 | 503 |
*edge = ptr;
|
... | ... | @@ -536,7 +536,7 @@ |
536 | 536 |
goto Exit;
|
537 | 537 |
}
|
538 | 538 |
|
539 |
- if ( !FT_QALLOC( ptr, sizeof ( *ptr ) ) )
|
|
539 |
+ if ( !FT_QNEW( ptr ) )
|
|
540 | 540 |
{
|
541 | 541 |
*ptr = null_contour;
|
542 | 542 |
*contour = ptr;
|
... | ... | @@ -591,7 +591,7 @@ |
591 | 591 |
goto Exit;
|
592 | 592 |
}
|
593 | 593 |
|
594 |
- if ( !FT_QALLOC( ptr, sizeof ( *ptr ) ) )
|
|
594 |
+ if ( !FT_QNEW( ptr ) )
|
|
595 | 595 |
{
|
596 | 596 |
*ptr = null_shape;
|
597 | 597 |
ptr->memory = memory;
|