adium/adium

Fix a couple of leaks in AIGradientView.
adium-1.5.3
2012-07-27, Thijs Alkemade
2f3a0055123e
Parents 1da981d1d4c6
Children d6516b54462b
Fix a couple of leaks in AIGradientView.
--- a/Source/AIGradientView.m Fri Jul 27 12:31:32 2012 +0200
+++ b/Source/AIGradientView.m Fri Jul 27 15:08:56 2012 +0200
@@ -41,10 +41,10 @@
- (void)dealloc
{
- startingColor = nil;
- middleColor = nil;
- endingColor = nil;
- backgroundColor = nil;
+ [startingColor release]; startingColor = nil;
+ [middleColor release]; middleColor = nil;
+ [endingColor release]; endingColor = nil;
+ [backgroundColor release]; backgroundColor = nil;
[super dealloc];
}