[nautilus/wip/antoniof/meets-valgrind: 5/11] window: Don't leak bookmark location GFile
- From: António Fernandes <antoniof src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [nautilus/wip/antoniof/meets-valgrind: 5/11] window: Don't leak bookmark location GFile
 
- Date: Mon, 21 Dec 2020 18:35:04 +0000 (UTC)
 
commit 57e12fc9712bce76d3c6f7c193dabd791e4152b9
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]