diff --git a/ChangeLog b/ChangeLog index 046e46c03..fe5b40630 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-08-30 Gregory John Casamento + + * GSNibTemplates.m: [GSNibContainer awakeWithContext:] + was not releasing the connections in the array after calling + establishConnection. Once this is done, the connections + are no longer needed. + 2003-08-30 Fred Kiefer * Source/NSWindowController.m diff --git a/Source/GSNibTemplates.m b/Source/GSNibTemplates.m index bd1058461..5df3f5a24 100644 --- a/Source/GSNibTemplates.m +++ b/Source/GSNibTemplates.m @@ -43,7 +43,6 @@ #include #include #include -#include "AppKit/NSApplication.h" #include "AppKit/NSMenu.h" #include "AppKit/NSControl.h" #include "AppKit/NSImage.h" @@ -51,8 +50,6 @@ #include "AppKit/NSView.h" #include "AppKit/NSTextView.h" #include "AppKit/NSWindow.h" -#include "AppKit/NSNibConnector.h" -#include "AppKit/NSNibLoading.h" #include #include #include @@ -125,6 +122,8 @@ static const int currentVersion = 1; // GSNibItem version number... val = [nameTable objectForKey: [connection destination]]; [connection setDestination: val]; [connection establishConnection]; + // release the connections, now that they have been established. + RELEASE(connection); } /*