summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2018-08-20 13:37:43 -0400
committerraveit65 <[email protected]>2018-08-21 11:48:00 +0200
commitf4d798ab5f6ba743b115e27c3f28c27181b7450f (patch)
tree22248a8dfa70cd19cc62eb6d5ce3af8263aad1a0
parent9d92f3b687600c962902363e5a2a390fa0ad7bc9 (diff)
downloadeom-f4d798ab5f6ba743b115e27c3f28c27181b7450f.tar.bz2
eom-f4d798ab5f6ba743b115e27c3f28c27181b7450f.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 4153bbc..12c8cf4 100644
--- a/src/eom-list-store.c
+++ b/src/eom-list-store.c
@@ -279,7 +279,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);
}