From 351af26271f5a3fe4d5dd03fb2a8381e5f067400 Mon Sep 17 00:00:00 2001 From: Cedric Bail Date: Wed, 14 Sep 2016 16:52:08 -0700 Subject: [PATCH] elementary: properly handle refcounting of file in efl_ui_image asynchronous image openning. --- src/lib/elementary/efl_ui_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_image.c b/src/lib/elementary/efl_ui_image.c index b1ddcc5..3a28ee4 100644 --- a/src/lib/elementary/efl_ui_image.c +++ b/src/lib/elementary/efl_ui_image.c @@ -254,7 +254,7 @@ _efl_ui_image_async_open_do(void *data, Ecore_Thread *thread) if (ecore_thread_check(thread)) return; - if (todo->f_set) f = todo->f_set; + if (todo->f_set) f = eina_file_dup(todo->f_set); else if (todo->file) { // blocking -- 2.7.4