forked from enlightenment/efl
edje: fix borked edje_external.
Someone fixed a CID without looking of the full use path a data, resulting in a value being used after free and stored in edje file. Leading to a garbage string with no meaning for those poor externals.
This commit is contained in:
parent
291c546143
commit
0a6f26a106
|
@ -9859,6 +9859,7 @@ _st_collections_group_parts_part_description_params(Edje_External_Param_Type typ
|
|||
if (!strcmp(param->name, name))
|
||||
{
|
||||
found = 1;
|
||||
free(name);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -9895,8 +9896,6 @@ _st_collections_group_parts_part_description_params(Edje_External_Param_Type typ
|
|||
|
||||
if (!found)
|
||||
ed->external_params = eina_list_append(ed->external_params, param);
|
||||
|
||||
free(name);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue