mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-16 12:03:03 -05:00
Fix a double-free in the Gtk event log.
It could occur some time after a line was selected in the event log window.
This commit is contained in:
parent
9090c1bb69
commit
a45f4c2955
@ -3550,6 +3550,7 @@ static void eventlog_destroy(GtkWidget *widget, gpointer data)
|
|||||||
|
|
||||||
es->window = NULL;
|
es->window = NULL;
|
||||||
sfree(es->seldata);
|
sfree(es->seldata);
|
||||||
|
es->seldata = NULL;
|
||||||
dlg_cleanup(&es->dp);
|
dlg_cleanup(&es->dp);
|
||||||
ctrl_free_box(es->eventbox);
|
ctrl_free_box(es->eventbox);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user