aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCSVExporter.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-08-19 22:10:52 +0000
committerstuconnolly <stuart02@gmail.com>2010-08-19 22:10:52 +0000
commitdabf6466f11e5936ee871b8b3dd573020a142586 (patch)
treeda26bda69942c69c7fbea4d0d764fcc7baeeeb33 /Source/SPCSVExporter.m
parentfdf2f07d8dfd4260c2dd5dd3326ad7206c1e30f1 (diff)
downloadsequelpro-dabf6466f11e5936ee871b8b3dd573020a142586.tar.gz
sequelpro-dabf6466f11e5936ee871b8b3dd573020a142586.tar.bz2
sequelpro-dabf6466f11e5936ee871b8b3dd573020a142586.zip
Fix various potential memory leaks and general warnings as a result of static analysis.
Diffstat (limited to 'Source/SPCSVExporter.m')
-rw-r--r--Source/SPCSVExporter.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPCSVExporter.m b/Source/SPCSVExporter.m
index cb0249ef..deae305b 100644
--- a/Source/SPCSVExporter.m
+++ b/Source/SPCSVExporter.m
@@ -182,7 +182,7 @@
if ([self csvTableName] && (![self csvDataArray])) {
- NSDictionary *tableDetails;
+ NSDictionary *tableDetails = nil;
// Determine whether the supplied table is actually a table or a view via the CREATE TABLE command, and get the table details
MCPResult *queryResult = [connection queryString:[NSString stringWithFormat:@"SHOW CREATE TABLE %@", [[self csvTableName] backtickQuotedString]]];