diff options
author | stuconnolly <stuart02@gmail.com> | 2010-08-19 22:10:52 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-08-19 22:10:52 +0000 |
commit | dabf6466f11e5936ee871b8b3dd573020a142586 (patch) | |
tree | da26bda69942c69c7fbea4d0d764fcc7baeeeb33 /Source/SPUserManager.m | |
parent | fdf2f07d8dfd4260c2dd5dd3326ad7206c1e30f1 (diff) | |
download | sequelpro-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/SPUserManager.m')
-rw-r--r-- | Source/SPUserManager.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPUserManager.m b/Source/SPUserManager.m index da87a454..8bd1f687 100644 --- a/Source/SPUserManager.m +++ b/Source/SPUserManager.m @@ -78,11 +78,11 @@ @"Replication_slave_priv", @"Repl_slave_priv", @"Replication_client_priv", @"Repl_client_priv", nil]; - } - schemas = [[NSMutableArray alloc] init]; - availablePrivs = [[NSMutableArray alloc] init]; - grantedSchemaPrivs = [[NSMutableArray alloc] init]; + schemas = [[NSMutableArray alloc] init]; + availablePrivs = [[NSMutableArray alloc] init]; + grantedSchemaPrivs = [[NSMutableArray alloc] init]; + } return self; } |