[gnome-photos] organize-collection-view: Don't leak the ID
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] organize-collection-view: Don't leak the ID
- Date: Sat, 20 Oct 2018 20:35:36 +0000 (UTC)
commit 1b716c3a5b02db3915e9ea3478e5aa69ff5dca58
Author: Debarshi Ray <debarshir gnome org>
Date: Sat Oct 20 22:12:09 2018 +0200
organize-collection-view: Don't leak the ID
src/photos-organize-collection-view.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/photos-organize-collection-view.c b/src/photos-organize-collection-view.c
index 97fe8c0a..07a7d3b6 100644
--- a/src/photos-organize-collection-view.c
+++ b/src/photos-organize-collection-view.c
@@ -77,6 +77,8 @@ photos_organize_collection_view_check_cell (GtkTreeViewColumn *tree_column,
"inconsistent", (state & PHOTOS_COLLECTION_STATE_INCONSISTENT) != 0,
NULL);
gtk_cell_renderer_set_visible (cell_renderer, g_strcmp0 (id, PHOTOS_COLLECTION_PLACEHOLDER_ID));
+
+ g_free (id);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]