Skip to content
New issue

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

内存泄漏 #28

Open
bluemap opened this issue Apr 8, 2018 · 2 comments
Open

内存泄漏 #28

bluemap opened this issue Apr 8, 2018 · 2 comments

Comments

@bluemap
Copy link

bluemap commented Apr 8, 2018

CTFontCreateWithName
CTFramesetterCreateWithAttributedString
CTFramesetterCreateFrame
以上三个位置内存泄漏,需要调用CFRelease

@bluemap
Copy link
Author

bluemap commented Apr 8, 2018

CGPathCreateMutable这个也是
需要调用如下释放代码
CFRelease(myFont);
CFRelease(frameSetter);
CFRelease(frame);
CFRelease(path);

@JadianZheng
Copy link

@bluemap 提交个req上来哩

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants