aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableCopy.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPTableCopy.m')
-rw-r--r--Source/SPTableCopy.m6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/SPTableCopy.m b/Source/SPTableCopy.m
index c965350a..be486cf2 100644
--- a/Source/SPTableCopy.m
+++ b/Source/SPTableCopy.m
@@ -53,7 +53,11 @@
[connection queryString:createTableStatement];
- if ([connection queryErrored]) return NO;
+ if ([connection queryErrored]) {
+ [createTableStatement release];
+
+ return NO;
+ }
return YES;
}