Not handling floating references correctly returned from anything but actual constructors
This means that currently Gst.ElementFactory.Make()
, Gst.Parse.Launch()
, etc are leaking the return value.
We get a floating reference from these functions and the bindings assume that it's just a normal transfer none
reference. What the bindings should actually do is to call g_object_ref_sink()
in this case on the boundary from C to C#.
Edited by Sebastian Dröge