python: fix a memory leak in all added __iter__ methods

Reported by Yechuan Xia

* python/spot/impl.i: Add %newobject to all __iter__ methods.
* NEWS: Mention the list of affected methods.
* THANKS: Update.
This commit is contained in:
Alexandre Duret-Lutz 2022-01-31 10:08:47 +01:00
parent c12842c16f
commit de295e4632
3 changed files with 17 additions and 1 deletions

8
NEWS
View file

@ -1,6 +1,12 @@
New in spot 2.10.3.dev (net yet released)
Nothing yet.
Bugs fixed:
- Fix memory leaks in Python bindings for several iteration objects.
This occured while itering on twa_graph.out(), twa_graph.edges(),
twa_graph.univ_dests(), kripke_graph.out(), kripke_graph.edges(),
mark_t.sets(), scc_info.edges_of(), scc_info.inner_edges_of(), and
on an scc_info instance.
New in spot 2.10.3 (2022-01-15)