summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2016-09-14 16:52:08 -0700
committerCedric Bail <cedric@osg.samsung.com>2016-09-14 16:52:08 -0700
commit351af26271f5a3fe4d5dd03fb2a8381e5f067400 (patch)
tree12501c4af5837ebf4493672cddd4de2adbbd922b
parent4d69f472fe31a9006436a05282a8376c7a712d41 (diff)
downloadefl-351af26271f5a3fe4d5dd03fb2a8381e5f067400.tar.gz
elementary: properly handle refcounting of file in efl_ui_image asynchronous image openning.
-rw-r--r--src/lib/elementary/efl_ui_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_image.c b/src/lib/elementary/efl_ui_image.c
index b1ddcc5a36..3a28ee4fa9 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