Index: Source/NSWindowController.m
===================================================================
--- Source/NSWindowController.m	(révision 22643)
+++ Source/NSWindowController.m	(copie de travail)
@@ -244,15 +244,8 @@
 	    {
 	      [_window setWindowController: nil];
 	    }
-	  
-	  /*
-	   * If the window is set to isReleasedWhenClosed, it will release
-	   * itself, so we have to retain it once more.
-	   * 
-	   * Apple's implementation doesn't seem to deal with this case, and
-	   * crashes if isReleaseWhenClosed is set.
-	   */
-	  RETAIN(_window);
+   
+      /* We release the window */
 	  [self setWindow: nil];
 
 	  [_document _removeWindowController: self];
