diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nautilus-window-slot.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c index a1af61887..785386ea1 100644 --- a/src/nautilus-window-slot.c +++ b/src/nautilus-window-slot.c @@ -2567,10 +2567,8 @@ nautilus_window_slot_show_special_location_bar (NautilusWindowSlot *self, static void nautilus_window_slot_update_for_new_location (NautilusWindowSlot *self) { - GFile *new_location; + g_autoptr (GFile) new_location = g_steal_pointer (&self->pending_location); NautilusFile *file; - new_location = self->pending_location; - self->pending_location = NULL; file = nautilus_file_get (new_location); nautilus_window_slot_update_bookmark (self, file); |