aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-04-14 16:45:17 +0000
committerrowanbeentje <rowan@beent.je>2012-04-14 16:45:17 +0000
commitec277286b0200cf5c36c4bb2ef11cb5fd9b31a67 (patch)
tree1d5f37ebf82349ed9e522d301d70df55fc8eaf75 /Source/SPConnectionController.m
parent3e85e46ba68f19b96a1e461e3fe039f4f61d6526 (diff)
downloadsequelpro-ec277286b0200cf5c36c4bb2ef11cb5fd9b31a67.tar.gz
sequelpro-ec277286b0200cf5c36c4bb2ef11cb5fd9b31a67.tar.bz2
sequelpro-ec277286b0200cf5c36c4bb2ef11cb5fd9b31a67.zip
- Fix a number of small memory leaks
Diffstat (limited to 'Source/SPConnectionController.m')
-rw-r--r--Source/SPConnectionController.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m
index eea43ba9..5575d8b7 100644
--- a/Source/SPConnectionController.m
+++ b/Source/SPConnectionController.m
@@ -201,6 +201,7 @@
[nibObjectsToRelease release];
if (favorites) [favorites release];
+ if (favoritesRoot) [favoritesRoot release], favoritesRoot = nil;
#endif
if (mySQLConnection) [mySQLConnection release];
if (sshTunnel) [sshTunnel setConnectionStateChangeSelector:nil delegate:nil], [sshTunnel disconnect], [sshTunnel release];