Skip to content

Commit

Permalink
Add autorelease pool in constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
rpetrich committed Apr 5, 2011
1 parent 214c071 commit 88ee953
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ALApplicationList.m
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ - (CGImageRef)copyIconOfSize:(ALApplicationIconSize)iconSize forDisplayIdentifie

CHConstructor
{
CHAutoreleasePoolForScope();
if (CHLoadLateClass(SBIconModel)) {
CHLoadLateClass(SBApplicationController);
sharedApplicationList = [[ALApplicationListImpl alloc] init];
Expand Down

0 comments on commit 88ee953

Please sign in to comment.