[gnome-photos/wip/rishi/organize-collection-view-dont-leak-gtktreepath] organize-collection-view: Don't leak the GtkTreePath




commit 4879a247b6bb660e1e3329e5a3e622a5840f8ab3
Author: Debarshi Ray <debarshir gnome org>
Date:   Sat Mar 27 17:47:08 2021 +0100

    organize-collection-view: Don't leak the GtkTreePath
    
    https://gitlab.gnome.org/GNOME/gnome-photos/-/merge_requests/203

 src/photos-organize-collection-view.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/photos-organize-collection-view.c b/src/photos-organize-collection-view.c
index 6e5f0967..65f3c59c 100644
--- a/src/photos-organize-collection-view.c
+++ b/src/photos-organize-collection-view.c
@@ -119,7 +119,7 @@ photos_organize_collection_view_check_toggled (PhotosOrganizeCollectionView *sel
   GApplication *app;
   GList *urns;
   GtkTreeIter iter;
-  GtkTreePath *tree_path;
+  g_autoptr (GtkTreePath) tree_path = NULL;
   PhotosSearchContextState *state;
   PhotosSetCollectionJob *job;
   gboolean active;


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