aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableStructure.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/SPTableStructure.m
parent5b55d8c4d24b0c24a5dc74a49cfd70448146d582 (diff)
downloadsequelpro-e201531daa71ee1a2e2a0f927c619947126c9d3d.tar.gz
sequelpro-e201531daa71ee1a2e2a0f927c619947126c9d3d.tar.bz2
sequelpro-e201531daa71ee1a2e2a0f927c619947126c9d3d.zip
Addition to commit 2735e15b
Diffstat (limited to 'Source/SPTableStructure.m')
-rw-r--r--Source/SPTableStructure.m14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/SPTableStructure.m b/Source/SPTableStructure.m
index 77e5c77b..32739eb3 100644
--- a/Source/SPTableStructure.m
+++ b/Source/SPTableStructure.m
@@ -1473,16 +1473,16 @@ static NSString *SPRemoveFieldAndForeignKey = @"SPRemoveFieldAndForeignKey";
[prefs removeObserver:indexesController forKeyPath:SPUseMonospacedFonts];
#endif
- [tableFields release];
- [oldRow release];
- [enumFields release];
- [typeSuggestions release];
- [extraFieldSuggestions release];
+ SPClear(tableFields);
+ SPClear(oldRow);
+ SPClear(enumFields);
+ SPClear(typeSuggestions);
+ SPClear(extraFieldSuggestions);
SPClear(fieldValidation);
- if (defaultValues) [defaultValues release];
- if (selectedTable) [selectedTable release];
+ if (defaultValues) SPClear(defaultValues);
+ if (selectedTable) SPClear(selectedTable);
[super dealloc];
}