From 76c47b7e9cab26724d2be16f87b082b63436f666 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 28 Nov 2016 10:42:46 +0000 Subject: [PATCH] dataurisrc: fix string leak in property getter --- plugins/elements/gstdataurisrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/elements/gstdataurisrc.c b/plugins/elements/gstdataurisrc.c index 84ec894537..11ed4daf5a 100644 --- a/plugins/elements/gstdataurisrc.c +++ b/plugins/elements/gstdataurisrc.c @@ -160,7 +160,7 @@ gst_data_uri_src_get_property (GObject * object, switch (prop_id) { case PROP_URI: - g_value_set_string (value, + g_value_take_string (value, gst_data_uri_src_get_uri (GST_URI_HANDLER (src))); break; default: -- 2.34.1