Merge branch 'gtk-3-24' into 'gtk-3-24'
gtkmountoperation: avoid SEGV after bad password input See merge request GNOME/gtk!6049
This commit is contained in:
@ -380,6 +380,11 @@ pw_dialog_got_response (GtkDialog *dialog,
|
||||
else
|
||||
g_mount_operation_reply (op, G_MOUNT_OPERATION_ABORTED);
|
||||
|
||||
if (priv->user_widgets)
|
||||
{
|
||||
g_list_free (priv->user_widgets);
|
||||
priv->user_widgets = NULL;
|
||||
}
|
||||
priv->dialog = NULL;
|
||||
g_object_notify (G_OBJECT (op), "is-showing");
|
||||
gtk_widget_destroy (GTK_WIDGET (dialog));
|
||||
|
||||
Reference in New Issue
Block a user