From 4843f92356d9fa325a47e2d1665ed65c6310aea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 15 Aug 2006 19:29:58 +0000 Subject: 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). --- sys/glsink/glimagesink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') 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); -- cgit v1.2.1