cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3656996df47368692e0a74700b73ba1e766b5850

commit 3656996df47368692e0a74700b73ba1e766b5850
Author: Cedric Bail <[email protected]>
Date:   Sat Sep 14 22:22:27 2019 -0700

    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 <[email protected]>
    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;
 }
 

-- 


Reply via email to