mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-19 12:08:05 -05:00
Fix segfault on forcible window closure.
[originally from svn r5402]
This commit is contained in:
parent
fe8114d90b
commit
ce802e55dd
@ -49,8 +49,6 @@ Missing input features
|
|||||||
- use of Alt+numberpad to enter arbitrary numeric character codes
|
- use of Alt+numberpad to enter arbitrary numeric character codes
|
||||||
is not yet supported
|
is not yet supported
|
||||||
|
|
||||||
- cut and paste isn't supported
|
|
||||||
|
|
||||||
- there's no Meta key yet. (I'd like to at least have the
|
- 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,
|
possibility of using Command rather than Option as the Meta key,
|
||||||
since the latter is necessary to send some characters, including
|
since the latter is necessary to send some characters, including
|
||||||
@ -63,6 +61,9 @@ Missing input features
|
|||||||
|
|
||||||
- there's no specials menu
|
- there's no specials menu
|
||||||
|
|
||||||
|
- mouse activity isn't supported (neither cut-and-paste nor xterm
|
||||||
|
mouse tracking)
|
||||||
|
|
||||||
Missing terminal emulation features
|
Missing terminal emulation features
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
@ -75,8 +76,6 @@ Missing terminal emulation features
|
|||||||
Other missing features
|
Other missing features
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
- SessionWindow's dealloc method does nothing yet, so leaks memory
|
|
||||||
|
|
||||||
- no Event Log
|
- no Event Log
|
||||||
|
|
||||||
- no mid-session Change Settings
|
- no mid-session Change Settings
|
||||||
|
@ -313,14 +313,16 @@
|
|||||||
* Do so.
|
* Do so.
|
||||||
*/
|
*/
|
||||||
sfree(alert_ctx);
|
sfree(alert_ctx);
|
||||||
if (term)
|
|
||||||
term_free(term);
|
|
||||||
if (logctx)
|
|
||||||
log_free(logctx);
|
|
||||||
if (back)
|
if (back)
|
||||||
back->free(backhandle);
|
back->free(backhandle);
|
||||||
if (ldisc)
|
if (ldisc)
|
||||||
ldisc_free(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];
|
[super dealloc];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user