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:
Cedric BAIL 2014-09-23 18:03:02 +02:00
parent 291c546143
commit 0a6f26a106
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}
/**