From dabf6466f11e5936ee871b8b3dd573020a142586 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Thu, 19 Aug 2010 22:10:52 +0000 Subject: Fix various potential memory leaks and general warnings as a result of static analysis. --- Source/SPTableCopy.m | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Source/SPTableCopy.m') 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; } -- cgit v1.2.3