From 937a6ca6d323a4309f9b9f019a39a3b93cf243e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 12 Sep 2019 10:03:08 +0300 Subject: [PATCH] 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4