AliSoftware / AliSoftware/OHAttributedLabel
Potential leak in NSAttributedString+Attributes
Offen
- Vorherrschende Sprache
- Objective-C
- Sterne
- 1.5k
- Forks
- 341
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Xcode 5 analyzer warns about a potential leak of `currentFont` in `NSAttributedString+Attributes.m` [here](https://github.com/AliSoftware/OHAttributedLabel/blob/master/OHAttributedLabel/Source/NSAttributedString%2BAttributes.m#L242).
> OHAttributedLabel/Source/NSAttributedString+Attributes.m:276:7: Potential leak of an object stored into 'currentFont'
It seems that a simple `CFRelease(currentFont)` would fix it.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.