mirror of https://github.com/GNOME/gimp.git
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:
parent
ea61efe679
commit
bbad91d85d
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue