Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.
This repository was archived by the owner on May 28, 2025. It is now read-only.

[CoreText] CTLineCreateTruncatedLine has a memory leak #2451

Closed

Description

@msft-Jeyaram

NSMutableAttributedString* stringFromToken = [NSMutableAttributedString new];

is created, but the function can return upon an invalid truncationType before stringFromToken is released.

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions