mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
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).
This commit is contained in:
parent
89ee2ff0c5
commit
f65205edb5
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue