edje: force NULL initialization of desc pointer.

This commit is contained in:
Cedric BAIL 2015-03-30 22:31:34 +02:00
parent 8445358526
commit 431e73eed5
1 changed files with 1 additions and 0 deletions

View File

@ -702,6 +702,7 @@ _edje_object_color_class_set(Eo *obj EINA_UNUSED, Edje *ed, const char *color_cl
return EINA_FALSE;
}
cc->name = color_class;
cc->desc = NULL;
eina_hash_direct_add(ed->color_classes, cc->name, cc);
update_color_class:
cc->r = r;