[gnome-photos/wip/rishi/use-g-auto-01: 1/2] organize-collection-view: Don't leak the GtkTreePath
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/use-g-auto-01: 1/2] organize-collection-view: Don't leak the GtkTreePath
- Date: Sat, 27 Mar 2021 17:19:12 +0000 (UTC)
commit 59d039ee0069af399887a778dc6166afb2e9ecfc
Author: Debarshi Ray <debarshir gnome org>
Date: Sat Mar 27 17:47:08 2021 +0100
organize-collection-view: Don't leak the GtkTreePath
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]