diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-08-15 19:29:58 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-08-15 19:29:58 +0000 |
commit | 4843f92356d9fa325a47e2d1665ed65c6310aea2 (patch) | |
tree | 43fc7900b2d907c94db30981c85ba5c159d400e1 | |
parent | 9d1c15dbc722268b23dce56f72806ad60a41180c (diff) | |
download | gst-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).
-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); |