aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNavigatorController.m
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-01-04 21:15:43 +0100
committerMax <post@wickenrode.com>2015-01-04 21:15:43 +0100
commite201531daa71ee1a2e2a0f927c619947126c9d3d (patch)
tree9b43cecf579b4318ec9b8f04c970a40c3232ba15 /Source/SPNavigatorController.m
parent5b55d8c4d24b0c24a5dc74a49cfd70448146d582 (diff)
downloadsequelpro-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.m28
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];