bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9c07cd1b1a88ae4cddd560320d1c10591c21454e

commit 9c07cd1b1a88ae4cddd560320d1c10591c21454e
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Wed Jul 10 15:02:56 2019 -0400

    edje: check for user_defined hash existence before removing members
    
    Differential Revision: https://phab.enlightenment.org/D9267
---
 src/lib/edje/edje_util.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c
index 5b5692beb3..20aeec4a53 100644
--- a/src/lib/edje/edje_util.c
+++ b/src/lib/edje/edje_util.c
@@ -176,7 +176,8 @@ _edje_user_definition_free(Edje_User_Defined *eud)
         break;
      }
 
-   eina_hash_list_remove(eud->ed->user_defined, eud->part, eud);
+   /* edje may be destructing */
+   if (eud->ed->user_defined) eina_hash_list_remove(eud->ed->user_defined, 
eud->part, eud);
    _edje_user_definition_free_internal(eud);
 }
 

-- 


Reply via email to