jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=055e905b84c702d746155dbd8f3b655a920a7577

commit 055e905b84c702d746155dbd8f3b655a920a7577
Author: Jean-Philippe Andre <[email protected]>
Date:   Thu Dec 8 16:10:20 2016 +0900

    theme: Fix crash at app shutdown
    
    The wrong hash was used to store theme data items. Obviously
    this is an API that wasn't used within EFL thus untested. Yay.
    
    @fix
---
 src/lib/elementary/elm_theme.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_theme.c b/src/lib/elementary/elm_theme.c
index f7a2451..9349fca 100644
--- a/src/lib/elementary/elm_theme.c
+++ b/src/lib/elementary/elm_theme.c
@@ -242,7 +242,7 @@ _elm_theme_find_data_try(Elm_Theme *th, const Eina_File *f, 
const char *key)
    free(data);
    if (t)
      {
-        eina_hash_add(th->cache, key, t);
+        eina_hash_add(th->cache_data, key, t);
         return t;
      }
    return NULL;

-- 


Reply via email to