device: gst_device_create_element() is `transfer floating`, not `transfer full`
authorSebastian Dröge <sebastian@centricular.com>
Thu, 12 Sep 2019 07:03:08 +0000 (10:03 +0300)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 14 Sep 2019 23:26:54 +0000 (00:26 +0100)
commit937a6ca6d323a4309f9b9f019a39a3b93cf243e7
tree1142f8b7156d7186f4e60bcb5bbe55e1ed61d745
parentabeb5e677f756eb940954d0f0c27285ab97cdd23
device: gst_device_create_element() is `transfer floating`, not `transfer full`

Fixing the annotation fixes leaking of the created element in all
bindings using GObject-Introspection.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/444
gst/gstdevice.c