discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=57d6231b3aee7e9e74b6d6e1d929d710b7ac9ef6

commit 57d6231b3aee7e9e74b6d6e1d929d710b7ac9ef6
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Sep 22 13:20:06 2015 -0400

    edje: return immediately when deleting a color class if no users exist
---
 src/lib/edje/edje_util.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c
index c0bb3f5..c238c13 100644
--- a/src/lib/edje/edje_util.c
+++ b/src/lib/edje/edje_util.c
@@ -735,6 +735,7 @@ edje_color_class_del(const char *color_class)
    free(cc);
 
    members = eina_hash_find(_edje_color_class_member_hash, color_class);
+   if (!members) return;
    it = eina_hash_iterator_data_new(members);
    EINA_ITERATOR_FOREACH(it, er)
      {

-- 


Reply via email to