Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType
Commits:
-
38b349c4
by Alexei Podtelezhnikov at 2021-10-18T20:35:28-04:00
1 changed file:
Changes:
... | ... | @@ -613,7 +613,8 @@ THE SOFTWARE. |
613 | 613 |
|
614 | 614 |
strings[string_size] = '\0';
|
615 | 615 |
|
616 |
- if ( FT_QNEW_ARRAY( properties, nprops ) )
|
|
616 |
+ /* zero out in case of failure */
|
|
617 |
+ if ( FT_NEW_ARRAY( properties, nprops ) )
|
|
617 | 618 |
goto Bail;
|
618 | 619 |
|
619 | 620 |
face->properties = properties;
|