Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #41 from Objective-Zero/patch-1

Singleton Potential Leak Fix
  • Loading branch information...
commit 3b122796c58d167ba93a84dc754fcb944d105654 2 parents 6e340c4 + 6f0750e
@barrettj barrettj authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 BlockAlertsDemo/ToAddToYourProjects/BlockBackground.m
View
4 BlockAlertsDemo/ToAddToYourProjects/BlockBackground.m
@@ -23,10 +23,10 @@ + (BlockBackground*)sharedInstance
@synchronized(self) {
if (_sharedInstance == nil) {
- [[[self alloc] init] autorelease];
+ _sharedInstance = [[self alloc] init];
}
}
-
+
return _sharedInstance;
}
Please sign in to comment.
Something went wrong with that request. Please try again.