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)
committerSebastian Dröge <slomo@coaxion.net>
Thu, 12 Sep 2019 09:50:17 +0000 (09:50 +0000)
commit1edcf747ee074e6ff3044a9909790771a634c47e
tree9fbdf4f1e16b6c282546f8d033e25ab615200d0e
parent89dfda56e380c9cd82c7b880fafd58b35f7fa4e7
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