1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-06 22:12:47 -05:00

Add further missing delete_callbacks_for_context.

Having explicitly _stated_ in commit 4dcc0fddf the principle that if
you ever queue a toplevel callback on a freeable object then you
should also call delete_callbacks_for_context on that object before
freeing it, I realised I'd never actually gone through and checked
methodically at every call site of queue_toplevel_callback. So I did,
and naturally, I found several missing ones.
This commit is contained in:
Simon Tatham
2019-04-20 08:20:34 +01:00
parent 4dcc0fddf7
commit 108baae60e
4 changed files with 7 additions and 0 deletions

View File

@ -1804,6 +1804,7 @@ void term_free(Terminal *term)
sfree(term->tabs);
expire_timer_context(term);
delete_callbacks_for_context(term);
conf_free(term->conf);