diff options
author | Cedric Bail <cedric@osg.samsung.com> | 2016-09-14 16:52:08 -0700 |
---|---|---|
committer | Cedric Bail <cedric@osg.samsung.com> | 2016-09-14 16:52:08 -0700 |
commit | 351af26271f5a3fe4d5dd03fb2a8381e5f067400 (patch) | |
tree | 12501c4af5837ebf4493672cddd4de2adbbd922b | |
parent | 4d69f472fe31a9006436a05282a8376c7a712d41 (diff) | |
download | efl-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.c | 2 |
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 |