Skip to content
Commit c9da5782 authored by John (J5) Palmieri's avatar John (J5) Palmieri Committed by Tomeu Vizoso
Browse files

make sure caller allocated structs are freed when they go out of scope

* Move struct transfer checks from pygi-arguments to pygi-invoke
* add better warning if an unknown struct is fully transfered
* only free GValues we create in the invoke cleanup.  All other structs
  get cleaned up when they go out of scope in python
* Fixes issues with caller allocated treeiters getting freed to early
* this is a fix to crashes in the current test suite when API's returning
  TreeIters were annotated as out caller-allocates so no new tests
  are needed

https://bugzilla.gnome.org/show_bug.cgi?id=623969
parent e0a85305
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment