GNOME Bugzilla – Bug 768810
core: add a couple of transfer annotations
Last modified: 2016-07-15 11:53:41 UTC
While tracking leaks I wasn't sure if a coupe of args were transferred or not so I added a transfer annotation to make it clearer.
Created attachment 331501 [details] [review] pad: annotate @event in gst_pad_store_sticky_event
Created attachment 331502 [details] [review] query: add transfer annotation to @¢aps in gst_query_set_caps_result
I'm reluctant about these really, by default things generally do not take ownership. I have pushed the annotation for _store_sticky_event(), but I'm rejecting the one for _set_caps_result() because there the convention is pretty clear, set=no transfer and take = transfer. commit 2a0bba69e1d1966afda8a1265a74bf072fee67df Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Date: Thu Jul 14 16:40:22 2016 +0200 pad: add g-i transfer annotatation to _store_sticky_event() For clarity. https://bugzilla.gnome.org/show_bug.cgi?id=768810