mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-06-30 23:46:35 +00:00
window: Don't leak file
This commit is contained in:
parent
10d823295a
commit
e5e53ea2c9
|
@ -343,9 +343,8 @@ static void
|
|||
star_or_unstar_current_location (NautilusWindow *window)
|
||||
{
|
||||
NautilusWindowSlot *slot = nautilus_window_get_active_slot (window);
|
||||
|
||||
GFile *location = nautilus_window_slot_get_location (slot);
|
||||
NautilusFile *file = nautilus_file_get (location);
|
||||
g_autoptr (NautilusFile) file = nautilus_file_get (location);
|
||||
g_autofree gchar *uri = nautilus_file_get_uri (file);
|
||||
|
||||
NautilusTagManager *tag_manager = nautilus_tag_manager_get ();
|
||||
|
|
Loading…
Reference in New Issue
Block a user