Actions
Bug #2306
closedgtk4: Double destruction of diplomacy dialog
Start date:
09/29/2026
Due date:
% Done:
0%
Estimated time:
Description
Closing of the diplodlg (a gui_dialog) will destroy it. There's also conditional code to destroy it in diplomacy_destroy(). That's duplicate destruction (or at least use-after-free before deciding to abort the second destruction), when ever the condition in diplomacy_destroy() is fulfilled. All this leads to frequent crash some time after diplomacy dialog close.
Files
Actions