From ec277286b0200cf5c36c4bb2ef11cb5fd9b31a67 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sat, 14 Apr 2012 16:45:17 +0000 Subject: - Fix a number of small memory leaks --- Source/SPConnectionController.m | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/SPConnectionController.m') 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]; -- cgit v1.2.3