diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/libfame/gstlibfame.c | 2 | ||||
-rw-r--r-- | sys/glsink/glimagesink.c | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2006-08-15 Tim-Philipp Müller <tim at centricular dot net> + + * ext/libfame/gstlibfame.c: (gst_fameenc_get_property): + * sys/glsink/glimagesink.c: (gst_glimage_sink_get_property): + Fix leaks (#351502). + 2006-08-14 Tim-Philipp Müller <tim at centricular dot net> * gst/qtdemux/qtdemux.c: (qtdemux_redirects_sort_func), diff --git a/ext/libfame/gstlibfame.c b/ext/libfame/gstlibfame.c index c62051e5..c921eb1c 100644 --- a/ext/libfame/gstlibfame.c +++ b/ext/libfame/gstlibfame.c @@ -551,7 +551,7 @@ gst_fameenc_get_property (GObject * object, guint prop_id, g_value_set_int (value, fameenc->fp.quality); break; case ARG_PATTERN: - g_value_set_string (value, g_strdup (fameenc->pattern)); + g_value_set_string (value, fameenc->pattern); break; case ARG_FAME_VERBOSE: g_value_set_boolean (value, fameenc->verbose); 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); |