forked from enlightenment/efl
eo: Fix memory leak in efl_key_wref_set() api.
Testcase: elementary_test -to snapshot Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11888
This commit is contained in:
parent
9d1423f203
commit
5797129334
|
@ -415,7 +415,7 @@ _key_generic_cb_del(void *data, const Efl_Event *event EINA_UNUSED)
|
||||||
{
|
{
|
||||||
Eo_Generic_Data_Node *node = data;
|
Eo_Generic_Data_Node *node = data;
|
||||||
Efl_Object_Data *pd = efl_data_scope_get(node->obj, EFL_OBJECT_CLASS);
|
Efl_Object_Data *pd = efl_data_scope_get(node->obj, EFL_OBJECT_CLASS);
|
||||||
_eo_key_generic_direct_del(pd, node, EINA_FALSE);
|
_eo_key_generic_direct_del(pd, node, EINA_TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
EOLIAN static void
|
EOLIAN static void
|
||||||
|
|
Loading…
Reference in New Issue