forked from enlightenment/efl
eio: correctly set reference count of cached child object.
Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D8793
This commit is contained in:
parent
6312cafe20
commit
c559bdf809
|
@ -948,6 +948,8 @@ _efl_io_model_efl_model_children_slice_get(Eo *obj, Efl_Io_Model_Data *pd,
|
|||
// NOTE: We are assuming here that the parent model will outlive all its children
|
||||
child_data->filter.cb = pd->filter.cb,
|
||||
child_data->filter.data = pd->filter.data);
|
||||
else
|
||||
efl_ref(info->object);
|
||||
eina_value_array_append(&array, info->object);
|
||||
|
||||
efl_wref_add(info->object, &info->object);
|
||||
|
|
Loading…
Reference in New Issue