aboutsummaryrefslogtreecommitdiffstats
path: root/Source/MainController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/MainController.m')
-rw-r--r--Source/MainController.m12
1 files changed, 11 insertions, 1 deletions
diff --git a/Source/MainController.m b/Source/MainController.m
index 283ee032..d446444a 100644
--- a/Source/MainController.m
+++ b/Source/MainController.m
@@ -23,8 +23,8 @@
//
// More info at <http://code.google.com/p/sequel-pro/>
-#import "MainController.h"
#import "KeyChain.h"
+#import "MainController.h"
#import "TableDocument.h"
#import "SPPreferenceController.h"
@@ -176,4 +176,14 @@
return nil;
}
+/**
+ * Deallocate prefs controller
+ */
+- (void)dealloc
+{
+ [prefsController release], prefsController = nil;
+
+ [super dealloc];
+}
+
@end