From 3656996df47368692e0a74700b73ba1e766b5850 Mon Sep 17 00:00:00 2001 From: Cedric Bail Date: Sat, 14 Sep 2019 22:22:27 -0700 Subject: [PATCH] elementary: fix double eina_value_free in Efl.Ui.Homogeneous_Model.property.set Model do not own the Eina_Value when it is set on them. They can make a copy of it, but shouldn't free it. Reviewed-by: Marcel Hollerbach Differential Revision: https://phab.enlightenment.org/D9945 --- src/lib/elementary/efl_ui_homogeneous_model.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_homogeneous_model.c b/src/lib/elementary/efl_ui_homogeneous_model.c index 646c59020d..569091a600 100644 --- a/src/lib/elementary/efl_ui_homogeneous_model.c +++ b/src/lib/elementary/efl_ui_homogeneous_model.c @@ -35,7 +35,6 @@ _efl_ui_homogeneous_model_property_set(Eo *obj, Eina_Value *value, return efl_loop_future_rejected(obj, EFL_MODEL_ERROR_INCORRECT_VALUE); *defined = EINA_TRUE; f = efl_loop_future_resolved(obj, *value); - eina_value_free(value); return f; }