mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
dataurisrc: fix string leak in property getter
This commit is contained in:
parent
a837ff6581
commit
76c47b7e9c
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ gst_data_uri_src_get_property (GObject * object,
|
||||||
|
|
||||||
switch (prop_id) {
|
switch (prop_id) {
|
||||||
case PROP_URI:
|
case PROP_URI:
|
||||||
g_value_set_string (value,
|
g_value_take_string (value,
|
||||||
gst_data_uri_src_get_uri (GST_URI_HANDLER (src)));
|
gst_data_uri_src_get_uri (GST_URI_HANDLER (src)));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue