forked from enlightenment/efl
edje: immediately return NULL when no color classes exist in edje_color_class_active_iterator_new()
This commit is contained in:
parent
d4a1044811
commit
12acac7035
|
@ -721,6 +721,7 @@ edje_color_class_active_iterator_new(void)
|
|||
{
|
||||
Edje_Active_Color_Class_Iterator *it;
|
||||
|
||||
if (!_edje_color_class_member_hash) return NULL;
|
||||
it = calloc(1, sizeof (Edje_Active_Color_Class_Iterator));
|
||||
if (!it) return NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue