diff options
author | Cedric Bail <cedric.bail@free.fr> | 2019-09-14 22:22:27 -0700 |
---|---|---|
committer | Cedric Bail <cedric.bail@free.fr> | 2019-09-17 10:24:12 -0700 |
commit | 3656996df47368692e0a74700b73ba1e766b5850 (patch) | |
tree | aeb2c971067ec1da9f2dc097ba0a5d44d549caeb | |
parent | 9b618316c47cb5360f0895ddc4038658c4aeae39 (diff) | |
download | efl-3656996df47368692e0a74700b73ba1e766b5850.tar.gz |
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 <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D9945
-rw-r--r-- | src/lib/elementary/efl_ui_homogeneous_model.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |