[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: Tue, 22 Dec 2020 16:27:19 +0000 (UTC)
commit a6a9647fe9e7871446e4d1cab6396c21b383a77e
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]