ecore: fix a memory leak

this patch fixes a memory leaking

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11369
This commit is contained in:
Wonki Kim 2020-02-17 12:40:56 +00:00 committed by Marcel Hollerbach
parent 46f616828e
commit c3a616cdb2
1 changed files with 6 additions and 0 deletions

View File

@ -68,6 +68,12 @@ _sync(Efl_Core_Env *obj, Efl_Core_Proc_Env_Data *pd)
break;
}
}
if (values)
{
free(values[0]);
free(values);
}
}
}
EINA_LIST_FOREACH(existing_keys, n, key)