Commit f65205ed authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

sys/: Fix leak (#351502).

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_get_property):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_property):
Fix leak (#351502).
parent 89ee2ff0
2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
* sys/ximage/ximagesink.c: (gst_ximagesink_get_property):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_property):
Fix leak (#351502).
2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
 
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
......
......@@ -1904,7 +1904,7 @@ gst_ximagesink_get_property (GObject * object, guint prop_id,
switch (prop_id) {
case PROP_DISPLAY:
g_value_set_string (value, g_strdup (ximagesink->display_name));
g_value_set_string (value, ximagesink->display_name);
break;
case PROP_SYNCHRONOUS:
g_value_set_boolean (value, ximagesink->synchronous);
......
......@@ -2534,7 +2534,7 @@ gst_xvimagesink_get_property (GObject * object, guint prop_id,
g_value_set_int (value, xvimagesink->saturation);
break;
case ARG_DISPLAY:
g_value_set_string (value, g_strdup (xvimagesink->display_name));
g_value_set_string (value, xvimagesink->display_name);
break;
case ARG_SYNCHRONOUS:
g_value_set_boolean (value, xvimagesink->synchronous);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment