diff options
author | Max <post@wickenrode.com> | 2015-01-04 21:15:43 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-01-04 21:15:43 +0100 |
commit | e201531daa71ee1a2e2a0f927c619947126c9d3d (patch) | |
tree | 9b43cecf579b4318ec9b8f04c970a40c3232ba15 /Source/SPNavigatorController.m | |
parent | 5b55d8c4d24b0c24a5dc74a49cfd70448146d582 (diff) | |
download | sequelpro-e201531daa71ee1a2e2a0f927c619947126c9d3d.tar.gz sequelpro-e201531daa71ee1a2e2a0f927c619947126c9d3d.tar.bz2 sequelpro-e201531daa71ee1a2e2a0f927c619947126c9d3d.zip |
Addition to commit 2735e15b
Diffstat (limited to 'Source/SPNavigatorController.m')
-rw-r--r-- | Source/SPNavigatorController.m | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Source/SPNavigatorController.m b/Source/SPNavigatorController.m index e4bdd1ec..3f194b24 100644 --- a/Source/SPNavigatorController.m +++ b/Source/SPNavigatorController.m @@ -109,21 +109,21 @@ static NSComparisonResult compareStrings(NSString *s1, NSString *s2, void* conte - (void)dealloc { [[NSNotificationCenter defaultCenter] removeObserver:self]; - if(schemaDataFiltered) [schemaDataFiltered release]; - if(allSchemaKeys) [allSchemaKeys release]; - if(schemaData) [schemaData release]; - if(infoArray) [infoArray release]; - if(updatingConnections) [updatingConnections release]; - if(expandStatus2) [expandStatus2 release]; - if(cachedSortedKeys) [cachedSortedKeys release]; + if(schemaDataFiltered) SPClear(schemaDataFiltered); + if(allSchemaKeys) SPClear(allSchemaKeys); + if(schemaData) SPClear(schemaData); + if(infoArray) SPClear(infoArray); + if(updatingConnections) SPClear(updatingConnections); + if(expandStatus2) SPClear(expandStatus2); + if(cachedSortedKeys) SPClear(cachedSortedKeys); #ifndef SP_CODA /* dealloc ivars */ - [connectionIcon release]; - [databaseIcon release]; - [tableIcon release]; - [viewIcon release]; - [procedureIcon release]; - [functionIcon release]; - [fieldIcon release]; + SPClear(connectionIcon); + SPClear(databaseIcon); + SPClear(tableIcon); + SPClear(viewIcon); + SPClear(procedureIcon); + SPClear(functionIcon); + SPClear(fieldIcon); #endif [super dealloc]; |