Permalink
Browse files

Added ARC safety check around release call

  • Loading branch information...
1 parent 72d84d1 commit 9bd18ee296875b7bb397615bd3039fda7352937c Matthew Bowman committed Feb 2, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 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 9bd18ee

Please sign in to comment.