Skip to content
This repository has been archived by the owner on Jul 29, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
duh, call super finalize not dealloc
thanks to @jallum for catching that
  • Loading branch information
joshaber committed Jun 27, 2011
1 parent dd09757 commit 9da8ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UIKit/Classes/UIColor.m
Expand Up @@ -111,7 +111,7 @@ - (void)dealloc


- (void)finalize { - (void)finalize {
CGColorRelease(_color); CGColorRelease(_color);
[super dealloc]; [super finalize];
} }


+ (id)colorWithNSColor:(NSColor *)c + (id)colorWithNSColor:(NSColor *)c
Expand Down

0 comments on commit 9da8ab3

Please sign in to comment.