aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPGrowlController.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-05-19 22:40:06 +0000
committerrowanbeentje <rowan@beent.je>2010-05-19 22:40:06 +0000
commite935c634e4691be05787c201caf9eaa1a9d99fe3 (patch)
tree7747978172de4c8bf52d2bb5f440684bc40fba51 /Source/SPGrowlController.m
parent85afb9383bda6d8c1fdfe4c04cee1de0933118f7 (diff)
downloadsequelpro-e935c634e4691be05787c201caf9eaa1a9d99fe3.tar.gz
sequelpro-e935c634e4691be05787c201caf9eaa1a9d99fe3.tar.bz2
sequelpro-e935c634e4691be05787c201caf9eaa1a9d99fe3.zip
- Fix a singleton proprty release in SPGrowlController's -release method; avoids overrelease and memory trampling. Thanks to Towny for spotting this; addresses Issue #692 and http://spbug.com/l/411
Diffstat (limited to 'Source/SPGrowlController.m')
-rw-r--r--Source/SPGrowlController.m5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/SPGrowlController.m b/Source/SPGrowlController.m
index a92dbdda..b4f84780 100644
--- a/Source/SPGrowlController.m
+++ b/Source/SPGrowlController.m
@@ -77,10 +77,7 @@ static SPGrowlController *sharedGrowlController = nil;
- (id)autorelease { return self; }
-- (void)release
-{
- if (timingNotificationName) [timingNotificationName release];
-}
+- (void)release { }
/**
* Posts a Growl notification using the supplied details and default values.