diff options
author | rowanbeentje <rowan@beent.je> | 2010-04-24 01:41:02 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-04-24 01:41:02 +0000 |
commit | f8bfc9ff86a6b36de1f1223cf69cc82573f75bce (patch) | |
tree | b3eb53786a65f84123b95a82720fe3e3b6126af6 /Source/SPNarrowDownCompletion.m | |
parent | efa3cf18d0d484fb0c5f2d7a1d19a225aa73259d (diff) | |
download | sequelpro-f8bfc9ff86a6b36de1f1223cf69cc82573f75bce.tar.gz sequelpro-f8bfc9ff86a6b36de1f1223cf69cc82573f75bce.tar.bz2 sequelpro-f8bfc9ff86a6b36de1f1223cf69cc82573f75bce.zip |
Merge in minor fixes from 0.9.8 RC merge review:
- Make a tiny fix to narrow down completion to avoid memory overrelease issues
- Unhide the "Show create view syntax" menu and contextual menu items when selecting a view
Diffstat (limited to 'Source/SPNarrowDownCompletion.m')
-rw-r--r-- | Source/SPNarrowDownCompletion.m | 4 |
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; |