We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This code leaks:
CTFramesetterRef CTFramesetterCreateWithAttributedString(CFAttributedStringRef string) { _CTFramesetter* ret = [_CTFramesetter alloc]; ret->_typesetter = static_cast<_CTTypesetter*>(CTTypesetterCreateWithAttributedString(string)); return static_cast<CTFramesetterRef>(ret); }
Which causes runtime leaks when calculating font sizes in UIKit; for example:
Identifier Count Size (Bytes) Count Diff. Size Diff (Bytes) Module
We should fix this and scrub the rest of the codebase for similar issues.
The text was updated successfully, but these errors were encountered:
Fix extra retain of CTTypesetter (#1756)
84a72ab
Fixes #1754
aballway
No branches or pull requests
This code leaks:
Which causes runtime leaks when calculating font sizes in UIKit; for example:
Identifier Count Size (Bytes) Count Diff. Size Diff (Bytes) Module
[External Code] 2 32 +2 +32 [External Code]
[External Code] 2 32 +2 +32 [External Code]
We should fix this and scrub the rest of the codebase for similar issues.
The text was updated successfully, but these errors were encountered: