Skip to content

Commit a658a99

Browse files
committed
Merge pull request #161 from mattjgalloway/FixGestureRecognizerLeak
Fix leak of the gesture recogniser when not using ARC
2 parents c64d174 + b16cf00 commit a658a99

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

OHAttributedLabel/Source/OHAttributedLabel.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ -(void)dealloc
197197
[_attributedText release]; _attributedText = nil;
198198
[_attributedTextWithLinks release]; _attributedTextWithLinks = nil;
199199
[_customLinks release]; _customLinks = nil;
200+
201+
[_gestureRecogniser release]; _gestureRecogniser = nil;
200202

201203
[super dealloc];
202204
#endif

0 commit comments

Comments
 (0)