check null here even though it SEEMS impossible to prevent jokers from injecting bad configs

SVN revision: 76727
This commit is contained in:
Mike Blumenkrantz 2012-09-17 04:41:09 +00:00
parent 194dbb13a3
commit 46afc57359
1 changed files with 1 additions and 1 deletions

View File

@ -620,7 +620,7 @@ e_gadcon_populate_class(E_Gadcon *gc, const E_Gadcon_Client_Class *cc)
e_gadcon_layout_freeze(gc->o_container);
EINA_LIST_FOREACH(gc->cf->clients, l, cf_gcc)
{
if ((!strcmp(cf_gcc->name, cc->name)) &&
if (cf_gcc->name && (!strcmp(cf_gcc->name, cc->name)) &&
(cf_gcc->id) && (cf_gcc->style))
_e_gadcon_client_populate(gc, cc, cf_gcc);
}