Fix a couple of leaks in AIGradientView. adium-1.5.3
authorThijs Alkemade <thijsalkemade@gmail.com>
Fri, 27 Jul 2012 15:08:56 +0200
branchadium-1.5.3
changeset 49312f3a0055123e
parent 4928 1da981d1d4c6
child 4936 d6516b54462b
Fix a couple of leaks in AIGradientView.
Source/AIGradientView.m
     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  }