summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2018-08-20 13:37:43 -0400
committerraveit65 <[email protected]>2018-08-21 11:51:02 +0200
commit537665080a55164cac6628de5c2d1a18e7127b08 (patch)
treeed5e47ba07fe707012e33f6ba12a354e0fcd1c73
parent2d607cdf21bd1f8ffb2b39bac51fd488794fb113 (diff)
downloadeom-537665080a55164cac6628de5c2d1a18e7127b08.tar.bz2
eom-537665080a55164cac6628de5c2d1a18e7127b08.tar.xz
fix a memory leak
Apply https://gitlab.gnome.org/GNOME/eog/commit/8032c8a0c6700966afbe77632c03a00ae9a878d0
-rw-r--r--src/eom-list-store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eom-list-store.c b/src/eom-list-store.c
index 8a52398..c0f2c06 100644
--- a/src/eom-list-store.c
+++ b/src/eom-list-store.c
@@ -295,7 +295,7 @@ eom_job_thumbnail_cb (EomJobThumbnail *job, gpointer data)
EOM_LIST_STORE_THUMB_SET, TRUE,
EOM_LIST_STORE_EOM_JOB, NULL,
-1);
-
+ g_object_unref (image);
g_object_unref (thumbnail);
}