Fix a couple of leaks in AIGradientView.
1.1 --- a/Source/AIGradientView.m Fri Jul 27 12:31:32 2012 +0200
1.2 +++ b/Source/AIGradientView.m Fri Jul 27 15:08:56 2012 +0200
1.3 @@ -41,10 +41,10 @@
1.4
1.5 - (void)dealloc
1.6 {
1.7 - startingColor = nil;
1.8 - middleColor = nil;
1.9 - endingColor = nil;
1.10 - backgroundColor = nil;
1.11 + [startingColor release]; startingColor = nil;
1.12 + [middleColor release]; middleColor = nil;
1.13 + [endingColor release]; endingColor = nil;
1.14 + [backgroundColor release]; backgroundColor = nil;
1.15
1.16 [super dealloc];
1.17 }