mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
printeroptionwidget: Avoid a critical
The new_location can be NULL, as we clearly knew earlier in the function. We've forgotten about that by the time we unref it :(
This commit is contained in:
parent
495b9caf63
commit
58fd969b2d
@ -526,7 +526,7 @@ dialog_response_callback (GtkDialog *dialog,
|
||||
g_free (uri);
|
||||
}
|
||||
|
||||
g_object_unref (new_location);
|
||||
g_clear_object (&new_location);
|
||||
g_clear_object (&priv->last_location);
|
||||
|
||||
/* unblock the handler which was blocked in the filesave_choose_cb function */
|
||||
|
Loading…
Reference in New Issue
Block a user