summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/glsink/glimagesink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/glsink/glimagesink.c b/sys/glsink/glimagesink.c
index bfd0b6b3..c62ae8d7 100644
--- a/sys/glsink/glimagesink.c
+++ b/sys/glsink/glimagesink.c
@@ -241,7 +241,7 @@ gst_glimage_sink_get_property (GObject * object, guint prop_id,
switch (prop_id) {
case ARG_DISPLAY:
- g_value_set_string (value, g_strdup (glimage_sink->display_name));
+ g_value_set_string (value, glimage_sink->display_name);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);