[gnome-photos/wip/rishi/organize-collection-model-dont-leak-job: 4/4] organize-collection-model: Don't leak the PhotosFetchCollectionStateJob
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/organize-collection-model-dont-leak-job: 4/4] organize-collection-model: Don't leak the PhotosFetchCollectionStateJob
- Date: Sat, 27 Mar 2021 16:29:03 +0000 (UTC)
commit 6bb1208b2df0435a6e7597351f5b9d83796e544a
Author: Debarshi Ray <debarshir gnome org>
Date: Sat Mar 27 17:08:43 2021 +0100
organize-collection-model: Don't leak the PhotosFetchCollectionStateJob
src/photos-organize-collection-model.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/photos-organize-collection-model.c b/src/photos-organize-collection-model.c
index ded0756d..033767da 100644
--- a/src/photos-organize-collection-model.c
+++ b/src/photos-organize-collection-model.c
@@ -134,7 +134,7 @@ photos_organize_collection_model_fetch_collection_state_executed (GHashTable *co
static void
photos_organize_collection_model_refresh_state (PhotosOrganizeCollectionModel *self)
{
- PhotosFetchCollectionStateJob *job;
+ g_autoptr (PhotosFetchCollectionStateJob) job = NULL;
job = photos_fetch_collection_state_job_new ();
photos_fetch_collection_state_job_run (job,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]