Permalink
Browse files

Merge pull request #29 from mgbowman/master

Added ARC safety check to release call
  • Loading branch information...
2 parents 72d84d1 + 9bd18ee commit 2fd868493a700e8460da2ab1f56be32dfc32f816 Alex Barinov committed Feb 3, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/UIBubbleHeaderTableViewCell.m
View
2 src/UIBubbleHeaderTableViewCell.m
@@ -30,7 +30,9 @@ - (void)setDate:(NSDate *)value
[dateFormatter setDateStyle:NSDateFormatterMediumStyle];
[dateFormatter setTimeStyle:NSDateFormatterShortStyle];
NSString *text = [dateFormatter stringFromDate:value];
+#if !__has_feature(objc_arc)
[dateFormatter release];
+#endif
if (self.label)
{

0 comments on commit 2fd8684

Please sign in to comment.