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