summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-08-15 19:29:58 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-08-15 19:29:58 +0000
commit4843f92356d9fa325a47e2d1665ed65c6310aea2 (patch)
tree43fc7900b2d907c94db30981c85ba5c159d400e1 /sys
parent9d1c15dbc722268b23dce56f72806ad60a41180c (diff)
downloadgst-plugins-bad-4843f92356d9fa325a47e2d1665ed65c6310aea2.tar.gz
gst-plugins-bad-4843f92356d9fa325a47e2d1665ed65c6310aea2.tar.bz2
gst-plugins-bad-4843f92356d9fa325a47e2d1665ed65c6310aea2.zip
Fix leaks (#351502).
Original commit message from CVS: * ext/libfame/gstlibfame.c: (gst_fameenc_get_property): * sys/glsink/glimagesink.c: (gst_glimage_sink_get_property): Fix leaks (#351502).
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);