summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubhransu Mohanty <smohantty@gmail.com>2020-05-27 07:39:59 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2020-06-15 15:39:17 +0200
commit709f31ebe86f24820ba6e26559d70c4106279854 (patch)
tree2c8d5640eb5055a84ce6453dd6df3bf2e5cacae1
parent95af339431833beba81d99261919c9359fdca38b (diff)
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
-rw-r--r--src/lib/eo/eo_base_class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index 44fe92cf4a..565f4805e8 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -415,7 +415,7 @@ _key_generic_cb_del(void *data, const Efl_Event *event EINA_UNUSED)
415{ 415{
416 Eo_Generic_Data_Node *node = data; 416 Eo_Generic_Data_Node *node = data;
417 Efl_Object_Data *pd = efl_data_scope_get(node->obj, EFL_OBJECT_CLASS); 417 Efl_Object_Data *pd = efl_data_scope_get(node->obj, EFL_OBJECT_CLASS);
418 _eo_key_generic_direct_del(pd, node, EINA_FALSE); 418 _eo_key_generic_direct_del(pd, node, EINA_TRUE);
419} 419}
420 420
421EOLIAN static void 421EOLIAN static void