dataurisrc: fix string leak in property getter

This commit is contained in:
Tim-Philipp Müller 2016-11-28 10:42:46 +00:00
parent a837ff6581
commit 76c47b7e9c

View file

@ -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: