null check for color_class_list

SVN revision: 63319
This commit is contained in:
Mike Blumenkrantz 2011-09-10 20:39:24 +00:00
parent b8d3fceb58
commit a8ff30dea4
1 changed files with 2 additions and 0 deletions

View File

@ -518,6 +518,8 @@ edje_color_class_list(void)
{
Edje_List_Foreach_Data fdata;
if (!color_class) return NULL;
memset(&fdata, 0, sizeof(Edje_List_Foreach_Data));
eina_hash_foreach(_edje_color_class_member_hash,
_edje_color_class_list_foreach, &fdata);