Release the document.
Patch by Doug Simons <doug.simons@testplant.com>
* Source/GSXibLoader.m: Fix a problem where owner,
* firstResponder and application
were put in the list of top-level objects, creating a
retain-cycle.
* Source/NSViewController.m: Fix a problem where view
* controllers
did not release their top-level objects as expected.
* Source/NSWindowController.m: Fix a problem where window
controllers did not release their top-level objects as expected.
Changes made in occordance with
https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/LoadingResources/CocoaNibs/CocoaNibs.html
Patch by Jonathan Gillaspie <jonathan.gillaspie@testplant.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36134 72102866-910b-0410-8b05-ffd578937521