[nautilus/wip/antoniof/meets-valgrind: 5/11] window: Don't leak bookmark location GFile




commit 7acbe2d852af4a8350776f5b79d4fee61f1fad20
Author: António Fernandes <antoniof gnome org>
Date:   Sun Dec 20 00:46:17 2020 +0000

    window: Don't leak bookmark location GFile

 src/nautilus-window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index b241034c2..0443891c2 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -3062,7 +3062,7 @@ nautilus_window_back_or_forward (NautilusWindow          *window,
 {
     NautilusWindowSlot *slot;
     GList *next_location_list, *back_list, *forward_list;
-    GFile *next_location;
+    g_autoptr (GFile) next_location = NULL;
     guint len;
     NautilusBookmark *next_location_bookmark;
     gboolean active_slot_handles_location;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]