From 236184c4a9793665107c70ea041220ee3c03f40b Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sun, 14 Mar 2010 02:14:03 +0000 Subject: [PATCH] avoid theoretical memory leaks when the info window is deallocated --- macosx/InfoWindowController.m | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/macosx/InfoWindowController.m b/macosx/InfoWindowController.m index cfd723742..d095c199e 100644 --- a/macosx/InfoWindowController.m +++ b/macosx/InfoWindowController.m @@ -160,6 +160,13 @@ typedef enum [[NSNotificationCenter defaultCenter] removeObserver: self]; + [fGeneralViewController dealloc]; + [fActivityViewController dealloc]; + [fTrackersViewController dealloc]; + [fPeersViewController dealloc]; + [fFileViewController dealloc]; + [fOptionsViewController dealloc]; + [fTorrents release]; [super dealloc]; -- 2.40.0