]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Fix segfault on forcible window closure.
authorSimon Tatham <anakin@pobox.com>
Sat, 26 Feb 2005 15:13:13 +0000 (15:13 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 26 Feb 2005 15:13:13 +0000 (15:13 +0000)
[originally from svn r5402]

macosx/README.OSX
macosx/osxwin.m

index 0e05dba72ac06435b1031a29f19cd5580fe10671..7a9ca95dc8fbd514935ce54541e4f90f9cedf579 100644 (file)
@@ -49,8 +49,6 @@ Missing input features
  - use of Alt+numberpad to enter arbitrary numeric character codes
    is not yet supported
 
- - cut and paste isn't supported
-
  - there's no Meta key yet. (I'd like to at least have the
    possibility of using Command rather than Option as the Meta key,
    since the latter is necessary to send some characters, including
@@ -63,6 +61,9 @@ Missing input features
 
  - there's no specials menu
 
+ - mouse activity isn't supported (neither cut-and-paste nor xterm
+   mouse tracking)
+
 Missing terminal emulation features
 -----------------------------------
 
@@ -75,8 +76,6 @@ Missing terminal emulation features
 Other missing features
 ----------------------
 
- - SessionWindow's dealloc method does nothing yet, so leaks memory
-
  - no Event Log
 
  - no mid-session Change Settings
index f0ebee4553adc61e712d71fcc7a5a22421e68488..59cc4bf9c4aa1cd02a528e802c0cd1b0a440713f 100644 (file)
      * Do so.
      */
     sfree(alert_ctx);
-    if (term)
-       term_free(term);
-    if (logctx)
-       log_free(logctx);
     if (back)
        back->free(backhandle);
     if (ldisc)
        ldisc_free(ldisc);
+    /* ldisc must be freed before term, since ldisc_free expects term
+     * still to be around. */
+    if (logctx)
+       log_free(logctx);
+    if (term)
+       term_free(term);
     [super dealloc];
 }