aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNarrowDownCompletion.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPNarrowDownCompletion.m')
-rw-r--r--Source/SPNarrowDownCompletion.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPNarrowDownCompletion.m b/Source/SPNarrowDownCompletion.m
index 322e65cc..668e01c1 100644
--- a/Source/SPNarrowDownCompletion.m
+++ b/Source/SPNarrowDownCompletion.m
@@ -153,7 +153,7 @@
[mutablePrefix release];
[textualInputCharacters release];
[originalFilterString release];
- [syncArrowImages release];
+ if(syncArrowImages) [syncArrowImages release];
if(suggestions) [suggestions release];
if (filtered) [filtered release];
@@ -184,7 +184,7 @@
[stateTimer invalidate];
[stateTimer release];
stateTimer = nil;
- if(syncArrowImages) [syncArrowImages release];
+ if(syncArrowImages) [syncArrowImages release], syncArrowImages = nil;
[self performSelectorOnMainThread:@selector(reInvokeCompletion) withObject:nil waitUntilDone:YES];
closeMe = YES;
return;