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)
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

index 786acfb..6040782 100644 (file)
@@ -196,7 +196,7 @@ gst_device_set_property (GObject * object, guint prop_id,
  * Creates the element with all of the required parameters set to use
  * this device.
  *
- * Returns: (transfer full) (nullable): a new #GstElement configured to use
+ * Returns: (transfer floating) (nullable): a new #GstElement configured to use
  * this device
  *
  * Since: 1.4