quit-dialog: remove write after free in quit_close_all_dialog_response()

This reverts 83397cbb15 except for the
unrelated typo fix.
This commit is contained in:
Michael Natterer 2023-05-21 18:55:05 +02:00
parent ea61efe679
commit bbad91d85d
1 changed files with 0 additions and 2 deletions

View File

@ -302,8 +302,6 @@ quit_close_all_dialog_response (GtkWidget *dialog,
gboolean do_quit = private->do_quit; gboolean do_quit = private->do_quit;
gtk_widget_destroy (dialog); gtk_widget_destroy (dialog);
private->box = NULL;
private->dialog = NULL;
if (response_id == GTK_RESPONSE_OK) if (response_id == GTK_RESPONSE_OK)
{ {