From 055e905b84c702d746155dbd8f3b655a920a7577 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Thu, 8 Dec 2016 16:10:20 +0900 Subject: [PATCH] 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 f7a24514f3..9349fca29a 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;