aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.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/SPDatabaseDocument.m
parent5b55d8c4d24b0c24a5dc74a49cfd70448146d582 (diff)
downloadsequelpro-e201531daa71ee1a2e2a0f927c619947126c9d3d.tar.gz
sequelpro-e201531daa71ee1a2e2a0f927c619947126c9d3d.tar.bz2
sequelpro-e201531daa71ee1a2e2a0f927c619947126c9d3d.zip
Addition to commit 2735e15b
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r--Source/SPDatabaseDocument.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m
index ab8eafc6..a0a6bf1c 100644
--- a/Source/SPDatabaseDocument.m
+++ b/Source/SPDatabaseDocument.m
@@ -569,8 +569,7 @@ static NSString *SPAlterDatabaseAction = @"SPAlterDatabase";
if (queryEditorInitString && [queryEditorInitString length]) {
[self viewQuery:self];
[customQueryInstance doPerformLoadQueryService:queryEditorInitString];
- [queryEditorInitString release];
- queryEditorInitString = nil;
+ SPClear(queryEditorInitString);
}
if (spfSession != nil) {