summaryrefslogtreecommitdiff
path: root/cocoa/BrowserViewController.m
diff options
context:
space:
mode:
Diffstat (limited to 'cocoa/BrowserViewController.m')
-rw-r--r--cocoa/BrowserViewController.m11
1 files changed, 11 insertions, 0 deletions
diff --git a/cocoa/BrowserViewController.m b/cocoa/BrowserViewController.m
index 7e109370f..654d6e80b 100644
--- a/cocoa/BrowserViewController.m
+++ b/cocoa/BrowserViewController.m
@@ -38,6 +38,17 @@
@synthesize status;
@synthesize spinning;
+- (void) dealloc;
+{
+ [self setUrl: nil];
+ [self setBrowserView: nil];
+ [self setWindowController: nil];
+ [self setTitle: nil];
+ [self setStatus: nil];
+
+ [super dealloc];
+}
+
- initWithBrowser: (struct browser_window *) bw;
{
if ((self = [super initWithNibName: @"Browser" bundle: nil]) == nil) return nil;