edje: fix CID 1062226 - Dereference after null check.

It seems to be possible in some badly crafted edj to trigger that path.
This commit is contained in:
Cedric BAIL 2013-10-14 13:45:26 +02:00
parent 15b9a640ac
commit 12072b2217
1 changed files with 1 additions and 2 deletions

View File

@ -5192,9 +5192,8 @@ st_collections_group_parts_part_description_inherit(void)
if (min_dst)
{
WRN("%s:%i: couldn't find an exact match in part '%s' when looking for '%s' %lf. Falling back to nearest one '%s' %lf.",
file_in, line - 1, ep->name, parent_name, parent_val, parent->state.name, parent->state.value);
file_in, line - 1, ep->name, parent_name, parent_val, parent ? parent->state.name : NULL, parent ? parent->state.value : NULL);
}
}
if (!parent)