You can clone with
The method creates a CTFontCollectionRef object with
CTFontCollectionRef fonts = CTFontCollectionCreateFromAvailableFonts(NULL);
but never releases it. Adding a
at the end of the method corrects the leak.
@keremerkan pull request please?
@Cocoanetics I haven't forked the project, that's why I did not create a pull request. Should I attach a diff?
OK then, no problem. Thanks for the great library, it made my life a lot easier. :)
@Cocoanetics I contributed to your other project last week, perhaps you'll remember. I hope to contribute again in the future. ;)
since this is a minor leak, I have added it to the 1.4.1 milestone.
Added missing CFRelease