The missing free was only for one of the paths to the end label. The other one
freed it before already. Take this into account to avoid the double free.
Backport from upstream
90aee3addd577461c3bf1b8d52fb816f80c6c45e
Change-Id: Ieffc4f5a05f54b21f06819028c9356af3a90648a
if (type == EDJE_PART_TYPE_EXTERNAL)
{
ei = calloc(1, sizeof(Part_External_Info));
- if (!ei) goto end;
+ if (!ei)
+ {
+ free(apiname);
+ goto end;
+ }
ei->description = description;
ei->source = edje_edit_part_source_get(ed, name);
ei->apiname = apiname;