This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository efl.
View the commit online.
commit 1fa686e3f62fb891642e7577c33d37edc16a549e
Author: Cedric BAIL <[email protected]>
AuthorDate: Thu Sep 10 07:40:43 2026 -0600
efl: the one @in iterator in the stable API says who frees it
Efl.Model.children_index_get takes iterator<uint>, and Efl.Loop_Model's
implementation calls eina_iterator_free on it after walking it. The .eo
did not say @move, so Eolian told every binding generator the caller
still owns an iterator the callee has already freed.
It is the only @in iterator<> in the stable API; every iterator
returned already carries @move. No generated output changes today,
because no binding maps an @in iterator yet, but a generator reading
the annotation as it was would emit a double free.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
src/lib/efl/interfaces/efl_model.eo | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/lib/efl/interfaces/efl_model.eo b/src/lib/efl/interfaces/efl_model.eo
index d225b2255b..16f416e475 100644
--- a/src/lib/efl/interfaces/efl_model.eo
+++ b/src/lib/efl/interfaces/efl_model.eo
@@ -156,7 +156,9 @@ interface Efl.Model
This function might rely on @.children_slice_get as a fallback.
]]
params {
- @in indices: iterator<uint>; [[Indices of the requested children.]]
+ @in indices: iterator<uint> @move; [[Indices of the requested
+ children. The iterator is
+ consumed and freed here.]]
}
return: future<array<Efl.Object>>; [[Array of children]]
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.