From: Sebastian Dröge Date: Thu, 12 Sep 2019 07:03:08 +0000 (+0300) Subject: device: gst_device_create_element() is `transfer floating`, not `transfer full` X-Git-Tag: 1.16.2~18 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Fgstreamer.git;a=commitdiff_plain;h=937a6ca6d323a4309f9b9f019a39a3b93cf243e7;hp=abeb5e677f756eb940954d0f0c27285ab97cdd23 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 --- diff --git a/gst/gstdevice.c b/gst/gstdevice.c index 786acfb..6040782 100644 --- a/gst/gstdevice.c +++ b/gst/gstdevice.c @@ -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