PullToRefreshCoreText icon indicating copy to clipboard operation
PullToRefreshCoreText copied to clipboard

Potential leak of an object

Open aleksandrshoshiashvili opened this issue 9 years ago • 1 comments

Potential leak of an object Call to function 'CTFontCreateWithName' returns a Core Foundation object with a +1 retain count Object leaked: allocated object is not referenced later in this execution path and has a retain count of +1

aleksandrshoshiashvili avatar Oct 08 '15 20:10 aleksandrshoshiashvili

CFTypeRef fontRef = CTFontCreateWithName((__bridge CFStringRef)self.refreshingTextFont.fontName, self.refreshingTextFont.pointSize, NULL); [text setFont:fontRef]; CFRelease(fontRef);

bitnpc avatar Mar 16 '16 09:03 bitnpc