From 5247ac10ff8d1fe91756c60dfd05605e8bc3d884 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Mon, 14 Dec 2009 01:23:29 +0000 Subject: - Work through static analysis of the source, fixing a number of small memory leaks and fixing a couple of over-releases --- Source/CMTextView.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/CMTextView.m') diff --git a/Source/CMTextView.m b/Source/CMTextView.m index ed032400..ecc89e71 100644 --- a/Source/CMTextView.m +++ b/Source/CMTextView.m @@ -446,7 +446,7 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse) // Start autoHelp timer if([prefs boolForKey:SPCustomQueryUpdateAutoHelp]) - [self performSelector:@selector(autoHelp) withObject:nil afterDelay:[[[prefs valueForKey:SPCustomQueryAutoHelpDelay] retain] floatValue]]; + [self performSelector:@selector(autoHelp) withObject:nil afterDelay:[[prefs valueForKey:SPCustomQueryAutoHelpDelay] floatValue]]; } @@ -461,7 +461,7 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse) selector:@selector(autoHelp) object:nil]; [self performSelector:@selector(autoHelp) withObject:nil - afterDelay:[[[prefs valueForKey:SPCustomQueryAutoHelpDelay] retain] floatValue]]; + afterDelay:[[prefs valueForKey:SPCustomQueryAutoHelpDelay] floatValue]]; } long allFlags = (NSShiftKeyMask|NSControlKeyMask|NSAlternateKeyMask|NSCommandKeyMask); -- cgit v1.2.3